class_docstr: Adds PyTorch specific functions.
class_docstr_tok: ["Adds","PyTorch","specific","functions","."]
docstr: Override base's shuffle to work with `torch.FloatTensor`.
docstr_tok: ["Override","base","'s","shuffle","to","work","with","`","torch.FloatTensor","`","."]
code: def shuffle(self, X, Y, A):
      """Override base's shuffle to work with `torch.FloatTensor`."""
      idx = torch.randperm(X.shape[0])
      X = X[idx].view(X.size())
      Y = Y[idx].view(Y.size())
      A = A[idx].view(A.size())
      return X, Y, A
  
file_path: fairlearn/fairlearn/adversarial/_pytorch_engine.py
imports: from ._backend_engine import BackendEngine
  from ._constants import _MODEL_UNRECOGNIZED_STR, _MODEL_UNRECOGNIZED_ITEM
label_desc: Use image node_id 3 for calling the PytorchEngine obj's underlying member method code with example usage: obj.shuffle(X, Y, A) and returns: X,  Y,  A