Mojo 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β
- β
casting
: Ops that modify the shape or data type of a symbolic tensor. - β
complex
: Ops that work with complex types. - β
convolution
: Ops commonly used in convolutional networks. - β
custom_ops
: Helpers for building custom ops. - β
elementwise
: Ops that perform element-wise computations/comparisons. - β
linalg
: Ops that perform linear algebra. - β
lists
: Ops that create lists. - β
quantized_ops
: Optimized quantized operators. - β
reduction
: Ops that accumulate or reduce a tensor along an axis. - β
repeat_interleave
: - β
slicing
: Ops that slice, index, stack, concat etc.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?