Skip to content
heliaEDGE
Reference
HELIA

random_channel

This module provides classes to build random channel layers.

Classes

Name Description
RandomChannel Random channel

Machine-readable model

  • RandomChannelclassRandomly picks a single channel from the input samples.
class

Randomly picks a single channel from the input samples.

helia_edge/layers/preprocessing/random_channel.py:17

RandomChannel(batchwise: bool = False, **kwargs={})

Randomly picks a single channel from the input samples.

Base class: BaseAugmentation.

Inherited from BaseAugmentation: augment_masks(), augment_targets(), batch_augment(), call().

Parameters of RandomChannel
NameTypeDefaultDescription
batchwiseboolFalseIf True, grabs same channel from all samples in batch.