Skip to main content

Shape

Type Alias Shape 

Source
pub type Shape = Vec<Option<usize>>;
Expand description

A dynamic shape vector. Each element is either a known size (Some(n)) or a dynamic/unknown dimension (None), e.g. a batch axis whose size is determined at runtime.

Aliased Typeยง

pub struct Shape { /* private fields */ }