parameters: (self, axis, dimension, chunk_size=None)
return_statement: return SNode(
              self.ptr.dynamic(axis[0], dimension, chunk_size,
                               impl.current_cfg().packed))
docstring: Adds a dynamic SNode as a child component of `self`.
  
          Args:
              axis (List[Axis]): Axis to activate, must be 1.
              dimension (int): Shape of the axis.
              chunk_size (int): Chunk size.
  
          Returns:
              The added :class:`~taichi.lang.SNode` instance.
docstring_summary: Adds a dynamic SNode as a child component of `self`.
docstring_tokens: Adds a dynamic SNode as a child component of self .
function: def dynamic(self, axis, dimension, chunk_size=None):
          """Adds a dynamic SNode as a child component of `self`.
  
          Args:
              axis (List[Axis]): Axis to activate, must be 1.
              dimension (int): Shape of the axis.
              chunk_size (int): Chunk size.
  
          Returns:
              The added :class:`~taichi.lang.SNode` instance.
          """
          assert len(axis) == 1
          if chunk_size is None:
              chunk_size = dimension
          return SNode(
              self.ptr.dynamic(axis[0], dimension, chunk_size,
                               impl.current_cfg().packed))
function_tokens: def dynamic ( self , axis , dimension , chunk_size = None ) : assert len ( axis ) == 1 if chunk_size is None : chunk_size = dimension return SNode ( self . ptr . dynamic ( axis [ 0 ] , dimension , chunk_size , impl . current_cfg ( ) . packed ) )