code: def _check_input_dim(self, input):
      if input.dim() != 2 and input.dim() != 3:
          raise ValueError(
              "expected 2D or 3D input (got {}D input)".format(
                  input.dim()
              )
          )
  
file_path: pytorch-meta/torchmeta/modules/batchnorm.py
imports: import torch.nn
  import torch.nn.functional
  from collections import OrderedDict
  from torch.nn.modules.batchnorm import _BatchNorm
  from torchmeta.modules.module import MetaModule
label_desc: Use image node_id 1 for calling the MetaBatchNorm1d obj's underlying member method code with example usage: obj._check_input_dim(input) without return types