parameters: (input, mask, level=0)
return_statement: return out_true, out_false
docstring: This function takes in an input that contains the complete lod information,
      and takes in a mask which is used to mask certain parts of the input.
      The output is the true branch and the false branch with the mask applied to
      the input at a certain level in the tensor. Mainly used in IfElse to split
      data into two parts.
  
      Args:
          input(Variable|tuple|list|None): The input tensor that contains complete
                                  lod information needed to construct the output.
          mask(Variable|list): A bool column vector which masks the input.
          level(int): The specific lod level to split.
  
      Returns:
          tuple(Variable, Variable):
          The true branch of tensor as per the mask applied to input.
  
          The false branch of tensor as per the mask applied to input.
  
      Examples:
          .. code-block:: python
  
            import paddle.fluid as fluid
            x = fluid.layers.data(name='x', shape=[1])
            x.persistable = True
  
            y = fluid.layers.data(name='y', shape=[1])
            y.persistable = True
  
            out_true, out_false = fluid.layers.split_lod_tensor(
                  input=x, mask=y, level=level)
docstring_summary: This function takes in an input that contains the complete lod information,
      and takes in a mask which is used to mask certain parts of the input.
      The output is the true branch and the false branch with the mask applied to
      the input at a certain level in the tensor. Mainly used in IfElse to split
      data into two parts.
docstring_tokens: This function takes in an input that contains the complete lod information and takes in a mask which is used to mask certain parts of the input . The output is the true branch and the false branch with the mask applied to the input at a certain level in the tensor . Mainly used in IfElse to split data into two parts .
function: def split_lod_tensor(input, mask, level=0):
      """
      This function takes in an input that contains the complete lod information,
      and takes in a mask which is used to mask certain parts of the input.
      The output is the true branch and the false branch with the mask applied to
      the input at a certain level in the tensor. Mainly used in IfElse to split
      data into two parts.
  
      Args:
          input(Variable|tuple|list|None): The input tensor that contains complete
                                  lod information needed to construct the output.
          mask(Variable|list): A bool column vector which masks the input.
          level(int): The specific lod level to split.
  
      Returns:
          tuple(Variable, Variable):
          The true branch of tensor as per the mask applied to input.
  
          The false branch of tensor as per the mask applied to input.
  
      Examples:
          .. code-block:: python
  
            import paddle.fluid as fluid
            x = fluid.layers.data(name='x', shape=[1])
            x.persistable = True
  
            y = fluid.layers.data(name='y', shape=[1])
            y.persistable = True
  
            out_true, out_false = fluid.layers.split_lod_tensor(
                  input=x, mask=y, level=level)
  
      """
      check_type(input, 'input', (Variable, list, tuple, type(None)),
                 'fluid.layers.split_lod_tensor')
      check_type(mask, 'mask', (Variable, list), 'fluid.layers.split_lod_tensor')
      check_type(level, 'level', int, 'fluid.layers.split_lod_tensor')
      helper = LayerHelper('split_lod_tensor', **locals())
      out_true = helper.create_variable_for_type_inference(dtype=input.dtype)
      out_false = helper.create_variable_for_type_inference(dtype=input.dtype)
      helper.append_op(
          type='split_lod_tensor',
          inputs={
              'X': input,
              'Mask': mask,
          },
          outputs={'OutTrue': out_true,
                   'OutFalse': out_false},
          attrs={'level': level})
      return out_true, out_false
function_tokens: def split_lod_tensor ( input , mask , level = 0 ) : check_type ( input , 'input' , ( Variable , list , tuple , type ( None ) ) , 'fluid.layers.split_lod_tensor' ) check_type ( mask , 'mask' , ( Variable , list ) , 'fluid.layers.split_lod_tensor' ) check_type ( level , 'level' , int , 'fluid.layers.split_lod_tensor' ) helper = LayerHelper ( 'split_lod_tensor' , * * locals ( ) ) out_true = helper . create_variable_for_type_inference ( dtype = input . dtype ) out_false = helper . create_variable_for_type_inference ( dtype = input . dtype ) helper . append_op ( type = 'split_lod_tensor' , inputs = { 'X' : input , 'Mask' : mask , } , outputs = { 'OutTrue' : out_true , 'OutFalse' : out_false } , attrs = { 'level' : level } ) return out_true , out_false