code: def __init__(self, kth=None, size=None, dtype=None, gpu=None, **kw):
      super().__init__(_kth=kth, _size=size, dtype=dtype, gpu=gpu, **kw)
  
imports: import itertools
  import numpy
  from ...None import opcodes
  from ...core import recursive_tile
  from ...serialization.serializables import FieldTypes, KeyField, Int32Field, StringField, ListField, BoolField, AnyField
  from ...utils import has_unknown_shape, flatten, stack_back
  from ...core import ENTITY_TYPE, ExecutableTuple
  from ..operands import TensorOperand, TensorShuffleProxy
  from ..core import TENSOR_TYPE, TENSOR_CHUNK_TYPE, TensorOrder
  from ..array_utils import as_same_device, device
  from ..datasource import tensor
  from ..utils import validate_axis, validate_order
  from .psrs import TensorPSRSOperandMixin
label_desc: Use image node_id 1 to create a new CalcPartitionsInfo object from inherited base classes: TensorOperand, TensorPSRSOperandMixin with example: obj = CalcPartitionsInfo(kth, size, dtype, gpu)