Operator#

enum nvmath.tensor.Operator(value)[source]#

See cutensorOperator_t.

Member Type:

int

Valid values are as follows:

OP_IDENTITY = <Operator.OP_IDENTITY: 1>#
OP_SQRT = <Operator.OP_SQRT: 2>#
OP_RELU = <Operator.OP_RELU: 8>#
OP_CONJ = <Operator.OP_CONJ: 9>#
OP_RCP = <Operator.OP_RCP: 10>#
OP_SIGMOID = <Operator.OP_SIGMOID: 11>#
OP_TANH = <Operator.OP_TANH: 12>#
OP_EXP = <Operator.OP_EXP: 22>#
OP_LOG = <Operator.OP_LOG: 23>#
OP_ABS = <Operator.OP_ABS: 24>#
OP_NEG = <Operator.OP_NEG: 25>#
OP_SIN = <Operator.OP_SIN: 26>#
OP_COS = <Operator.OP_COS: 27>#
OP_TAN = <Operator.OP_TAN: 28>#
OP_SINH = <Operator.OP_SINH: 29>#
OP_COSH = <Operator.OP_COSH: 30>#
OP_ASIN = <Operator.OP_ASIN: 31>#
OP_ACOS = <Operator.OP_ACOS: 32>#
OP_ATAN = <Operator.OP_ATAN: 33>#
OP_ASINH = <Operator.OP_ASINH: 34>#
OP_ACOSH = <Operator.OP_ACOSH: 35>#
OP_ATANH = <Operator.OP_ATANH: 36>#
OP_CEIL = <Operator.OP_CEIL: 37>#
OP_FLOOR = <Operator.OP_FLOOR: 38>#
OP_MISH = <Operator.OP_MISH: 39>#
OP_SWISH = <Operator.OP_SWISH: 40>#
OP_SOFT_PLUS = <Operator.OP_SOFT_PLUS: 41>#
OP_SOFT_SIGN = <Operator.OP_SOFT_SIGN: 42>#
OP_ADD = <Operator.OP_ADD: 3>#
OP_MUL = <Operator.OP_MUL: 5>#
OP_MAX = <Operator.OP_MAX: 6>#
OP_MIN = <Operator.OP_MIN: 7>#
OP_UNKNOWN = <Operator.OP_UNKNOWN: 126>#