[][src]Module ndarray_einsum_beta::validation

Structs

Contraction

A Contraction contains the result of parsing an einsum-formatted string.

EinsumParse

The result of running an einsum-formatted string through the regex.

SizedContraction

A SizedContraction contains a Contraction as well as a HashMap<char, usize> specifying the axis lengths for each index in the contraction.

Constants

_IMPL_SERIALIZE_FOR_Contraction
_IMPL_SERIALIZE_FOR_SizedContraction

Traits

OutputSizeMethods

Functions

einsum_path
get_operand_shapes
parse_einsum_string

Runs an input string through a regex and convert it to an EinsumParse.

validate

Wrapper around Contraction::new().

validate_and_optimize_order
validate_and_size

Wrapper around SizedContraction::new().

validate_and_size_from_shapes

Only included so the function can be called from WASM, i.e. without arguments that are already ndarray ArrayBases.

Type Definitions

OutputSize