parameters: (shape, dtype=mstype.float32)
return_statement: return output
docstring: Returns a new tensor of given shape and type, filled with zeros.
  
      Args:
          shape (Union[int, tuple, list]): the shape of the new tensor.
          dtype (Union[:class:`mindspore.dtype`, str], optional): Designated tensor dtype.
              Default is :class:`mstype.float32`.
  
      Returns:
          Tensor, with the designated `shape` and `dtype`, filled with zeros.
  
      Raises:
          TypeError: If input arguments have types not specified above.
          ValueError: If `shape` entries have values :math:`< 0`.
  
      Supported Platforms:
          ``Ascend`` ``GPU`` ``CPU``
  
      Examples:
          >>> import mindspore.numpy as np
          >>> print(np.zeros((2,2)))
          [[0. 0.]
          [0. 0.]]
docstring_summary: Returns a new tensor of given shape and type, filled with zeros.
docstring_tokens: Returns a new tensor of given shape and type filled with zeros .
function: def zeros(shape, dtype=mstype.float32):
      """
      Returns a new tensor of given shape and type, filled with zeros.
  
      Args:
          shape (Union[int, tuple, list]): the shape of the new tensor.
          dtype (Union[:class:`mindspore.dtype`, str], optional): Designated tensor dtype.
              Default is :class:`mstype.float32`.
  
      Returns:
          Tensor, with the designated `shape` and `dtype`, filled with zeros.
  
      Raises:
          TypeError: If input arguments have types not specified above.
          ValueError: If `shape` entries have values :math:`< 0`.
  
      Supported Platforms:
          ``Ascend`` ``GPU`` ``CPU``
  
      Examples:
          >>> import mindspore.numpy as np
          >>> print(np.zeros((2,2)))
          [[0. 0.]
          [0. 0.]]
      """
      shape = _check_shape(shape)
      dtype = _check_dtype(dtype)
      if _is_shape_empty(shape):
          return full(shape, 0.0, dtype)
      output = F.fill(dtype, shape, 0)
      return output
function_tokens: def zeros ( shape , dtype = mstype . float32 ) : shape = _check_shape ( shape ) dtype = _check_dtype ( dtype ) if _is_shape_empty ( shape ) : return full ( shape , 0.0 , dtype ) output = F . fill ( dtype , shape , 0 ) return output