Is there a pytorch command that scales tensors like sklearn (example below)?
X = data[:,:num_inputs]
x_scaler = preprocessing.StandardScaler()
X_scaled = x_scaler.fit_transform(X)

From class
sklearn.preprocessing.StandardScaler(copy=True, with_mean=True, with_std=True)