Realm

oa::matrix::full_on

Create an FP32 matrix filled with value on a particular engine. Errors Returns an error when the shape or storage size overflows, or allocation and upload fail.

FnRust public API

Function Documentation

pub fn full_on( engine: &Engine, shape: impl Into<Vec<usize>>, value: f32 ) -> Result<Matrix>
Create an FP32 matrix filled with value on a particular engine. Errors Returns an error when the shape or storage size overflows, or allocation and upload fail.