code: def _instantiate(self, env, temp_storage) -> _internal_types.Data:
      _include_cub(env)
      if temp_storage.ctype != self.TempStorage:
          raise TypeError(
              f"Invalid temp_storage type {temp_storage.ctype}. "
              f"({self.TempStorage} is expected.)"
          )
      return _internal_types.Data(f"{self}({temp_storage.code})", self)
  
imports: from cupyx.jit import _cuda_types
  from cupyx.jit import _cuda_typerules
  from cupyx.jit import _internal_types
  from cupy_backends.cuda.api import runtime
label_desc: Use image node_id 1 for calling the _CubReduceBaseType obj's underlying member method code with example usage: obj._instantiate(env, temp_storage) and returns: _internal_types