I met a problem about torch.max(). In my forward method, I construct a python list and each item is a
Variable. How can I get the maximum of this list?
The input of
forward() is several vectors with different size. By some operations with different params, I convert each vector into one number. All those numbers compose a list and I want to return the maximum number of this list.
Any help is appreciated!