use burn_backend::{TensorMetadata, ops::FloatTensorOps};
use burn_tch::{LibTorch, LibTorchDevice};
fn main() {
type B = LibTorch<f32>;
let device = LibTorchDevice::Cpu;
let tensor_1 = B::float_from_data([[2f32, 3.], [4., 5.]].into(), &device);
let tensor_2 = B::float_ones(tensor_1.shape(), &device, tensor_1.dtype().into());
println!("{}", B::float_add(tensor_1, tensor_2));
}