code: def mtf_slice(x, begin, size, slice_dim_name, name=None):
    
    return SliceOperation(
        x, begin, size, slice_dim_name, name=name).outputs[0]
docs: Slice operation.
  
    Call externally as mtf.slice()
  
    Args:
      x: a list of Tensors
      begin: integer, where to begin slicing from along the axis
      size: integer, size to slice from axis.
      slice_dim_name: string, dimension name of slicing axis.
      name: an optional string
    Returns:
      a Tensor with shape extended by output_shape for the last axis.