Operation

A node in the expression graph

Members

Functions

opBinary
Operation opBinary(Operation rhs, string mod = __MODULE__, size_t line = __LINE__)

Convenience method for pointwise operations.

Properties

attributes
Variant[string] attributes [@property getter]

Returns an associative array that maps strings to operation specific attributes.

deps
Operation[] deps [@property getter]

Returns a list of operands for this operation.

opType
string opType [@property getter]

Returns a string identifying the type of this operation. This is the same string used when registering the operation with the registerOperation method.

outputType
TensorType outputType [@property getter]

Returns a TensorType object that specifies the type of tensor obtained by evaluating this operation.

Meta