tenferro_to_burn

Function tenferro_to_burn 

Source
pub fn tenferro_to_burn<B: Backend>(
    _tensor: Tensor<f64>,
    _device: &B::Device,
) -> FloatTensor<B>
Expand description

Convert a tenferro Tensor<f64> into a Burn backend tensor primitive.

§Examples

use burn::backend::NdArray;
use tenferro_burn::convert::tenferro_to_burn;

let tenferro_t: tenferro_tensor::Tensor<f64> = todo!();
let burn_prim = tenferro_to_burn::<NdArray<f64>>(tenferro_t, &Default::default());