Struct alumina::shape::NodeShape[][src]

pub struct NodeShape { /* fields omitted */ }

Methods

impl NodeShape
[src]

Important traits for &'a [u8]

Important traits for &'a [u8]

Should be called and only called by operations prior to propagating shape constraints The NodeDim::Interval0 are collapsed to the lower bound, and any NodeDim::Unknown entries will be replaced with 0

Returns a copy of the shape with all dimensions that arent Known(_) set to 1.

If all dimension values are Known this will This should generally only be called after collapse_dimensions_to_minimum

Trait Implementations

impl Clone for NodeShape
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NodeShape
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NodeShape
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Into<NodeDim> + Clone, I: IntoIterator<Item = T>> From<I> for NodeShape
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for NodeShape

impl Sync for NodeShape