code: def get_pad_index(self):
      return self.pad_idx
  
file_path: pytext/pytext/torchscript/vocab.py
imports: from typing import Dict, List, Optional
  import torch
  import torch.nn
  from pytext.common.constants import SpecialTokens
label_desc: Use image node_id 2 for calling the ScriptVocabulary obj's underlying member method code with example usage: obj.get_pad_index() and returns: self