espnet2.asr.transducer.rnnt_multi_blank.utils.cuda_utils.reduce.I_Op
Less than 1 minute
espnet2.asr.transducer.rnnt_multi_blank.utils.cuda_utils.reduce.I_Op
class espnet2.asr.transducer.rnnt_multi_blank.utils.cuda_utils.reduce.I_Op(value)
Bases: Enum
Represents an operation that is performed on the input tensor.
This enumeration defines two types of operations that can be applied to the input tensor during processing. The operations are categorized into exponential and identity transformations.
EXPONENTIAL
Represents the exponential operation.
- Type: int
IDENTITY
Represents the identity operation.
- Type: int
Examples
>>> operation = I_Op.EXPONENTIAL
>>> print(operation)
I_Op.EXPONENTIAL
>>> operation = I_Op.IDENTITY
>>> print(operation)
I_Op.IDENTITY
EXPONENTIAL
IDENTITY