class_docstr: A Base class that every transform method should derived from.
class_docstr_tok: ["A","Base","class","that","every","transform","method","should","derived","from","."]
docstr: Extra checks to validate options added from `add_options`.
docstr_tok: ["Extra","checks","to","validate","options","added","from","`","add_options","`","."]
code: def _validate_options(cls, opts):
      """Extra checks to validate options added from `add_options`."""
      pass
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 6 for calling the Transform obj's underlying member method code with example usage: obj._validate_options(cls, opts) without return types