Trait dfdx::devices::AllocateZeros
source · [−]pub trait AllocateZeros {
fn zeros<T: CountElements>() -> Box<T>;
}
Expand description
Allocate an Nd array on the heap.
Required Methods
fn zeros<T: CountElements>() -> Box<T>
fn zeros<T: CountElements>() -> Box<T>
Allocate T directly on the heap.