class_docstr: Allocate memory in a given pool.
  
  Parameters
  ----------
  pool : PoolInfo
      The pool in which to allocate memory.
  allocated_size : int
      The size of memory to allocate.
class_docstr_tok: ["Allocate","memory","in","a","given","pool",".","Parameters","--","--","--","--","--","pool",":","PoolInfo","The","pool","in","which","to","allocate","memory",".","allocated_size",":","int","The","size","of","memory","to","allocate","."]
code: def __init__(
      self,
      pool: PoolInfo,
      allocated_size: int,
      pool_var_idx: int = 0,
  ):
      self.__init_handle_by_constructor__(
          _ffi_api.AllocatedPoolInfo, pool, allocated_size, pool_var_idx  # type: ignore # pylint: disable=no-member
      )
  
imports: from typing import Optional, List
  from tvm._ffi import register_object
  from tvm.runtime import Object
  from tvm.runtime import NDArray
  from .None import _ffi_api
label_desc: Use image node_id 1 to create a new AllocatedPoolInfo object from inherited base classes: Object with example: obj = AllocatedPoolInfo(pool, allocated_size, pool_var_idx)