dopt.core.ops

This package facilitates the construction of various nodes in the operation graph.

Modules

basic
module dopt.core.ops.basic

Contains functions for creating variable nodes and subsequently manipulating their shapes.

math
module dopt.core.ops.math

Contains common maths operations.

nnet
module dopt.core.ops.nnet

Contains common neural network operations.

random
module dopt.core.ops.random

Contains functions for generating random numbers.

Members

Classes

Operation
class Operation

A node in the expression graph

Functions

createOperation
Operation createOperation(string opType, Operation[] deps = [], Variant[string] attribs = null, string mod = __MODULE__, size_t line = __LINE__)

Creates an operation of the given type, with the given dependencies and attributes.

listAllOperations
string[] listAllOperations()

Returns a list of identifiers for operations that have been registered so far.

registerOperation
void registerOperation(string name, OpDef def)

Registers an operation definition with the given identifier.

Structs

OpDef
struct OpDef

Contains methods to perform procedures specific to the type of an operation

Meta

Authors

Henry Gouk