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.

Public Imports

dopt.core.ops.basic
public import dopt.core.ops.basic;
dopt.core.ops.math
public import dopt.core.ops.math;
dopt.core.ops.nnet
public import dopt.core.ops.nnet;
dopt.core.ops.random
public import dopt.core.ops.random;

Members

Aliases

Judge
alias Judge = TensorType delegate(Operation)
Undocumented in source.
Verifier
alias Verifier = bool delegate(Operation)
Undocumented in source.

Classes

Operation
class Operation

A node in the expression graph

Functions

createOperation
Operation createOperation(string opType, Operation[] deps, Variant[string] attribs, string mod, size_t line)

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

initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
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.

topologicalSort
Operation[] topologicalSort(Operation[] ops)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

OpDef
struct OpDef

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

Meta

Authors

Henry Gouk