oa::data::HostTensor
A dense tensor living in host memory. Shape semantics match Matrix: num_elements is the shape product and shape[0] is the leading (sample or batch) dimension.
Declaration
pub struct HostTensor { pub shape: Vec<usize>, pub values: HostValues, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
shapeVec<usize>fieldvaluesHostValuesfieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.