General:
Deployment
Preprocessing:
Custom:
TransformerXL:
GCP Integration:
flood_forecast.utils.
numpy_to_tvar
Converts a numpy array into a PyTorch Tensor
x ([type]) – A numpy array you want to convert
[description]
torch.Variable
flatten_list_function
make_criterion_functions
crit_list should be either dict or list