class_docstr: Supports GRU scripting.
class_docstr_tok: ["Supports","GRU","scripting","."]
docstr: Detach hidden states from their history.
docstr_tok: ["Detach","hidden","states","from","their","history","."]
code: def repackage_hidden(h):
      """Detach hidden states from their history."""
      return h.detach()
  
file_path: pytorch/test/onnx/model_defs/word_language_model.py
imports: from typing import Optional, Tuple
  import torch
  import torch.nn
  from torch import Tensor
label_desc: Use image node_id 1 for calling the RNNModelWithTensorHidden obj's underlying member method code with example usage: obj.repackage_hidden(h) and returns: h