code: def __new__(cls, name, bases, dct):
      new_obj = super().__new__(cls, name, bases, dct)
      if name != "InferenceV2Policy":
          POLICIES[name] = new_obj
      return new_obj
  
imports: import json
  from abc import ABC, ABCMeta, abstractmethod
  from typing import Any, Iterable, List, Optional, Union
  import torch
  from ..config_v2 import RaggedInferenceEngineConfig
  from ..checkpoint import CheckpointEngineBase
  from ..logging import inference_logger
  from .layer_container_base import LayerContainer
  from .inference_model_base import DSInferenceModelBase
  from .flat_model_helpers import flatten_inference_model, make_param_filename, make_metadata_filename, ModelMetadata, restore_inference_model
label_desc: Use image node_id 1 for calling the PolicyMeta obj's underlying member method code with example usage: obj.__new__(cls, name, bases, dct) and returns: new_obj