Expand description
The einsum and tensordot grammar traits, options and spec types (#2552).
Re-exports§
pub use crate::ConcreteEinsumPlan;pub use crate::ConjMask;pub use crate::ContractionTree;pub use crate::EinsumAxis;pub use crate::EinsumNotation;pub use crate::EinsumOps;pub use crate::EinsumOptimize;pub use crate::EinsumOptions;pub use crate::EinsumSpec;pub use crate::EinsumSubscripts;pub use crate::Spec;pub use crate::TensorDotAxes;pub use crate::TensordotOps;pub use crate::TracedEinsumOps;pub use crate::TracedTensordotOps;pub use crate::EagerEinsumOps;
Structs§
- Eager
Runtime - Shared eager execution context for tensors on a backend.
- Eager
Tensor - Eager tensor with reverse-mode autodiff over concrete tensor values.
- Tensor
- Dynamic tensor over the supported scalar types.
- Trace
Context - Shared, cloneable handle to one mutable semantic trace.
- Traced
Tensor - A typed view of one semantic value inside a
TraceContext. - Typed
Tensor - Owned compact column-major typed tensor.
- Typed
Tensor View - Read-only borrowed view of typed tensor storage with arbitrary strides.
Enums§
- Conj
- Whether an operand enters an operation conjugated. Conjugation is operation
configuration, so it lives in the operation’s options, never in
Dest. - DType
- Runtime scalar dtype tag.
- Dest
- Where an
_intooperation writes, and how it combines with what is there. - Tensor
Read - Read-only tensor input accepted by synchronous eager kernels.
- Tensor
View - Dynamic read-only borrowed tensor view.
- Tensor
Write - Mutable tensor output accepted by synchronous eager kernels.
- Typed
Tensor Write - Mutable typed tensor output accepted by synchronous eager kernels.
Traits§
- Tensor
Scalar - Sealed trait for scalar types that can be stored in a
Tensor.