How to initialize caffe2::Tensor

error: no matching function for call to ‘caffe2::Tensor::Tensor(std::vector&, std::vector&, NULL)’
caffe2::TensorCPU t(img_dims, data, NULL);
how to set argments?

1 Like