Uses of Class
ai.beestream.jitnn.CustomOp
Packages that use CustomOp
Package
Description
The jitNN API:
Tensor (n-dimensional arrays, lazy on TornadoVM
devices), reverse-mode differentiation (Tensor.backward(), Grad),
the functional operators of F, linear algebra (Linalg),
Fourier transforms (Fft), sparse matrices (SparseMatrix),
mixed precision (Autocast) and user-defined operators
(CustomOp).-
Uses of CustomOp in ai.beestream.jitnn
Methods in ai.beestream.jitnn that return CustomOpModifier and TypeMethodDescriptionstatic CustomOpCustomOp.binary(String name, uk.ac.manchester.tornado.api.common.TornadoFunctions.Task5<uk.ac.manchester.tornado.api.KernelContext, uk.ac.manchester.tornado.api.types.arrays.FloatArray, uk.ac.manchester.tornado.api.types.arrays.FloatArray, uk.ac.manchester.tornado.api.types.arrays.FloatArray, Integer> kernel, DoubleBinaryOperator reference) An element-wise operator on two FP32 tensors of the same shape.CustomOp.Builder.build()The operator, registered under its name.static CustomOpCustomOp.unary(String name, uk.ac.manchester.tornado.api.common.TornadoFunctions.Task4<uk.ac.manchester.tornado.api.KernelContext, uk.ac.manchester.tornado.api.types.arrays.FloatArray, uk.ac.manchester.tornado.api.types.arrays.FloatArray, Integer> kernel, DoubleUnaryOperator reference) An element-wise operator on one FP32 tensor.CustomOp.withGradient(CustomOp.BinaryGradient gradient) This element-wise binary operator with a gradient.CustomOp.withGradient(CustomOp.UnaryGradient gradient) This element-wise unary operator with a gradient.