Type Trait to generate a constant Array of given size
Internally, ConstGenerator trait is implemented by following types.
fn generate(&self, dims: Dim4) -> Array<Self::OutType>
Create an Array of dims
size from scalar value self
.
dims
are the dimensions of the output constant Arrayimpl ConstGenerator for i64
[src] impl ConstGenerator for u64
[src] impl ConstGenerator for bool
[src] impl ConstGenerator for f32
[src] impl ConstGenerator for f64
[src] impl ConstGenerator for i32
[src] impl ConstGenerator for u32
[src] impl ConstGenerator for u8
[src] impl ConstGenerator for i16
[src] impl ConstGenerator for u16
[src]Loading content...Loading content...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4