docstr: Create chunks.
  
  A chunk is a node in a fine grained graph, all the chunk objects are created by
  calling this function, it happens mostly in tiles.
  The generated chunks will be set as this operand's outputs and each chunk will
  hold this operand as it's op.
  
  Parameters
  ----------
  inputs : list
      Input chunks.
  kws : dict
      Kwargs for each output.
  kwargs : dict
      common kwargs for all outputs
  
  Returns
  -------
  chunks : list
      Output chunks.
  
  .. note::
      It's a final method, do not override.
      Override the method `_new_chunks` if needed.
docstr_tok: ["Create","chunks",".","A","chunk","is","a","node","in","a","fine","grained","graph",",","all","the","chunk","objects","are","created","by","calling","this","function",",","it","happens","mostly","in","tiles",".","The","generated","chunks","will","be","set","as","this","operand","'s","outputs","and","each","chunk","will","hold","this","operand","as","it","'s","op",".","Parameters","--","--","--","--","--","inputs",":","list","Input","chunks",".","kws",":","dict","Kwargs","for","each","output",".","kwargs",":","dict","common","kwargs","for","all","outputs","Returns","--","--","--","-","chunks",":","list","Output","chunks",".","..","note",":",":","It","'s","a","final","method",",","do","not","override",".","Override","the","method","`","_new_chunks","`","if","needed","."]
code: def new_chunks(
      self, inputs: List[ChunkType], kws: List[Dict] = None, **kwargs
  ) -> List[ChunkType]:
      """
      Create chunks.
  
      A chunk is a node in a fine grained graph, all the chunk objects are created by
      calling this function, it happens mostly in tiles.
      The generated chunks will be set as this operand's outputs and each chunk will
      hold this operand as it's op.
  
      Parameters
      ----------
      inputs : list
          Input chunks.
      kws : dict
          Kwargs for each output.
      kwargs : dict
          common kwargs for all outputs
  
      Returns
      -------
      chunks : list
          Output chunks.
  
      .. note::
          It's a final method, do not override.
          Override the method `_new_chunks` if needed.
      """
      return self._new_chunks(inputs, kws=kws, **kwargs)
  
imports: import sys
  from typing import Any, Callable, Dict, List, Tuple, Type, Union
  import numpy
  from ...metrics import Metrics
  from ...typing import TileableType, ChunkType, OperandType
  from ...utils import calc_data_size
  from ..context import Context
  from ..mode import is_eager_mode
  from ..entity import OutputType, ExecutableTuple, get_chunk_types, get_tileable_types, get_output_types, get_fetch_class
label_desc: Use image node_id 6 for calling the TileableOperandMixin obj's underlying member method code with example usage: obj.new_chunks(inputs, kws) and returns: self