Module prelude

Source

Modules§

atomic
indexed

Macros§

autodiff
Compute the partial derivative of a given expression w.r.t a particular variable. At the moment, the macro only supports expressions defined within the same scope.
nested

Structs§

AtomicId
Binary
BinaryArgs
Constant
Dcg
Dual
Edge
Error
ErrorKindIter
An iterator over the variants of ErrorKind
GradientErrorIter
An iterator over the variants of GradientError
GradientId
GradientStore
IndexId
Integer
Link
Nary
Partial
PredictErrorIter
An iterator over the variants of PredictError
Scg
StdErrorIter
An iterator over the variants of StdError
SyncErrorIter
An iterator over the variants of SyncError
Ternary
TypeErrorIter
An iterator over the variants of TypeError
Unary
Variable

Enums§

Arithmetic
ArithmeticAssign
BinaryOp
DType
ErrorKind
ErrorKindDiscriminants
Auto-generated discriminant enum variants
ExternalError
Float
GradientError
GraphError
ModuleError
NaryOp
NumBits
Number
Op
OpKind
Auto-generated discriminant enum variants
PredictError
R
StdError
Strings
SyncError
TernaryExpr
TernaryOp
Auto-generated discriminant enum variants
TypeError
UnaryOp

Traits§

AsSlice
AsSliceMut
Backward
Backward describes an object capable of backward propagation.
BinOp
BinaryParams
ComputeGraph
Differentiable
Entry
ErrorType
Eval
EvalMut
EvalOnce
Evaluate
FnArgs
Forward
Forward describes an object capable of forward propagation.
ForwardIter
FromType
Get
GetMut
Gradient
GraphEdge
GraphEntry
Group
HashId
Id
The Id trait describes the behavior of a type that can be used as an id. An Id is almost identical to an Identifier, but it is a trait that can be implemented for any type.
Identifiable
Identifier
An Identifier is a type that can be used as an identifier
IdentifierExt
Identify
IdentifyMut
IntoId
IntoOp
Module
Operand
OperandType
Operator
Params
Scalar
Store
StoreExt

Type Aliases§

AnyBox
A type alias for a boxed Any type.
AnySyncBox
A type alias for a boxed Any type that is Send and Sync.
BoxError
A boxed error type for use in the library.
BoxResult
A boxed result type for use in the library.
GraphResult
Result