class_docstr: The only difference between :class:`torch.nn.BatchNorm1d`, :class:`torch.nn.BatchNorm2d`,
  :class:`torch.nn.BatchNorm3d`, etc is this method that is overwritten by the sub-class.
  This method is used when calling forward as a sanity check.
  When using :function:`revert_sync_batchnorm` this sanity check is lost.
class_docstr_tok: ["The","only","difference","between",":","class",":","`","torch.nn.BatchNorm1d","`",",",":","class",":","`","torch.nn.BatchNorm2d","`",",",":","class",":","`","torch.nn.BatchNorm3d","`",",","etc","is","this","method","that","is","overwritten","by","the","sub-class",".","This","method","is","used","when","calling","forward","as","a","sanity","check",".","When","using",":","function",":","`","revert_sync_batchnorm","`","this","sanity","check","is","lost","."]
code: def _check_input_dim(self, input: Tensor) -> None:
      return
  
imports: import os
  import tempfile
  from functools import wraps
  from typing import Any, Callable, cast, List, Optional, TypeVar, Union
  import torch
  import torch.distributed
  import torch.nn.functional
  from torch import Tensor
  from torch.distributed.elastic.utils.distributed import get_free_port
  from typing_extensions import Literal
label_desc: Use image node_id 1 for calling the _BatchNormXd obj's underlying member method code with example usage: obj._check_input_dim(input) without return types