Struct einsum_codegen::Namespace
source · pub struct Namespace { /* private fields */ }
Expand description
Names of tensors
As the crate level document explains,
einsum factorization requires to track names of tensors
in addition to subscripts, and this struct manages it.
This works as a simple counter, which counts how many intermediate
tensor denoted out{N}
appears and issues new out{N+1}
identifier.
Implementations§
Trait Implementations§
source§impl PartialEq for Namespace
impl PartialEq for Namespace
impl Eq for Namespace
impl StructuralPartialEq for Namespace
Auto Trait Implementations§
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more