Skip to main content

package

ops

Implements various ops used when building a graph.

Although the following modules provide a lot of the ops you want when building a graph, you can also use functions in Graph to add constant values, such as constant(), vector(), and scalar().

The Symbol type (returned by all ops) also implements various dunder methods to support operations between symbols, such as + add, * multiply, and @ matmul, plus convenience methods such as reshape() and swapaxes().

Modules