Hi, All
I am trying to convert the following python code to C++ in libtorch
The python code is:
d, l = [], []
for (datum, label) in self.test:
d.append(datum)
l.append(label)
When I convert it in C++ code, do I need to obtain the size of the dataset for test please ?
Any suggestion is welcome.
Thanks,