pub trait TracedTensorEinsumExt {
// Required method
fn tensordot(
&self,
rhs: &TracedTensor,
axes: TensorDotAxes<'_>,
) -> Result<TracedTensor>;
}Expand description
Traced tensor contraction-sugar methods.
Required Methods§
Sourcefn tensordot(
&self,
rhs: &TracedTensor,
axes: TensorDotAxes<'_>,
) -> Result<TracedTensor>
fn tensordot( &self, rhs: &TracedTensor, axes: TensorDotAxes<'_>, ) -> Result<TracedTensor>
§Errors
Returns Error::Validation with rank, axis, duplicate-axis, or
contracted-dimension payloads for invalid axes, or Error::Runtime
for graph-build failures.
§Deferred errors
Symbolic contracted-dimension equalities are checked during compilation
or execution and retain the runtime
ErrorPhase.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".