Skip to main content

Module ops

Module ops 

Expand description

Operation module.

Structs§

ComputePropertyDone
Operation’s compute property is fixed
Init
Operation is initialized
MemoryBound
Operation has been tagged as memory bound
MemoryBoundRetroForward
Memory bound operation has received its RetroForward
NodeGuard
Keeps an input node available while a dependent operation is being prepared.
Ops
Operation containing its parent nodes, its own node and the backward step state.
OpsPrep
Operation in preparation.
Tracked
Tracked operation tag.
UnTracked
Untracked operation tag.

Enums§

OpsKind
Enum used before finishing tracked and untracked operations.

Traits§

Backward
Trait for all operations.
DifferentiableTransfer
Transfers plain floating-point primitives between two backends for a recorded operation.

Functions§

binary
Execute a binary operation during the backward step.
broadcast_shape
Make sure the grad tensor has the given shape.
unary
Execute a unary operation during the backward step.