Class Operation

A node in the expression graph

class Operation ;

Properties

NameTypeDescription
attributes[get]std.variant.VariantN!(32L)[string]Returns an associative array that maps strings to operation specific attributes.
deps[get]Operation[]Returns a list of operands for this operation.
opType[get]stringReturns a string identifying the type of this operation. This is the same string used when registering the operation with the registerOperation method.
outputType[get]dopt.core.types.TensorTypeReturns a TensorType object that specifies the type of tensor obtained by evaluating this operation.

Methods

NameDescription
opBinaryConvenience method for pointwise operations.