[−][src]Trait melange::tensor::allocation_policy::StaticAllocationPolicy
Trait that defines the Layout
that should be used with the implementor
policy in the context of statically sized (compile time) tensors.
Associated Types
Loading content...Implementors
impl<T, S> StaticAllocationPolicy<T, S> for DefaultPolicy where
T: Default + Clone + 'static,
S: StaticShape,
[src]
T: Default + Clone + 'static,
S: StaticShape,
type Layout = StaticHeapLayout<T, S>
impl<T, S> StaticAllocationPolicy<T, S> for StackFirstPolicy where
T: Default + 'static,
S: StaticShape + NumElements<T>,
<S as NumElements<T>>::Output: 'static,
[src]
T: Default + 'static,
S: StaticShape + NumElements<T>,
<S as NumElements<T>>::Output: 'static,