def load_raw

stelliferous@0.0.2.0 · tensor_f32.bend:47

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/tensor_file.bend as Files

47# Raw little-endian FP32 files: the values of the shape in row-major order.
48# A file that cannot be read, or does not match the shape, gives a failed tensor.
49def load_raw(+path: String,+shape: List<&2,U32>) -> IO(Tensor()):
50  Files.load(path,shape)

Uses (6)

Used by (0)

No other definition uses this definition.