Expand description
Conversion utilities between Burn tensor primitives and tenferro tensors.
§Current Limitations
These conversion functions currently only support f64 element type.
Support for f32 and other numeric types will be added in future versions.
Functions§
- burn_
to_ tenferro - Convert a Burn backend tensor primitive into a tenferro
Tensor<f64>, panicking if conversion fails. - tenferro_
to_ burn - Convert a tenferro
Tensor<f64>into a Burn backend tensor primitive, panicking if conversion fails. - try_
burn_ to_ tenferro - Fallibly convert a Burn backend tensor primitive into a tenferro
Tensor<f64>. - try_
tenferro_ to_ burn - Convert a tenferro
Tensor<f64>into a Burn backend tensor primitive.