class_docstr: Scaling layer.
class_docstr_tok: ["Scaling","layer","."]
code: def __init__(self) -> None:
      super().__init__()
      self.register_buffer(
          "shift",
          torch.Tensor([-0.030, -0.088, -0.188])[None, :, None, None],
          persistent=False,
      )
      self.register_buffer(
          "scale",
          torch.Tensor([0.458, 0.448, 0.450])[None, :, None, None],
          persistent=False,
      )
  
imports: import inspect
  import os
  from typing import List, NamedTuple, Optional, Tuple, Union
  import torch
  from torch import Tensor, nn
  from typing_extensions import Literal
  from torchmetrics.utilities.imports import _TORCHVISION_AVAILABLE, _TORCHVISION_GREATER_EQUAL_0_13
label_desc: Use image node_id 1 to create a new ScalingLayer object from inherited base classes: nn with example: obj = ScalingLayer()