class_docstr: Splits a string tensor into bytes.
class_docstr_tok: ["Splits","a","string","tensor","into","bytes","."]
docstr: Splits a string tensor into bytes.
  
  The strings are split bytes. Thus, some unicode characters may be split
  into multiple bytes.
  
  Example:
  
  >>> ByteSplitter().split("hello")
  <tf.Tensor: shape=(5,), dtype=uint8, numpy=array([104, 101, 108, 108, 111],
  dtype=uint8)>
  
  Args:
    input: A `RaggedTensor` or `Tensor` of strings with any shape.
  
  Returns:
    A `RaggedTensor` of bytes. The returned shape is the shape of the
    input tensor with an added ragged dimension for the bytes that make up
    each string.
docstr_tok: ["Splits","a","string","tensor","into","bytes",".","The","strings","are","split","bytes",".","Thus",",","some","unicode","characters","may","be","split","into","multiple","bytes",".","Example",":",">",">",">","ByteSplitter","(",")",".split","(","``","hello","''",")","<","tf.Tensor",":","shape=","(","5",",",")",",","dtype=uint8",",","numpy=array","(","[","104",",","101",",","108",",","108",",","111","]",",","dtype=uint8",")",">","Args",":","input",":","A","`","RaggedTensor","`","or","`","Tensor","`","of","strings","with","any","shape",".","Returns",":","A","`","RaggedTensor","`","of","bytes",".","The","returned","shape","is","the","shape","of","the","input","tensor","with","an","added","ragged","dimension","for","the","bytes","that","make","up","each","string","."]
code: def split(self, input):  # pylint: disable=redefined-builtin
      """Splits a string tensor into bytes.
  
      The strings are split bytes. Thus, some unicode characters may be split
      into multiple bytes.
  
      Example:
  
      >>> ByteSplitter().split("hello")
      <tf.Tensor: shape=(5,), dtype=uint8, numpy=array([104, 101, 108, 108, 111],
      dtype=uint8)>
  
      Args:
        input: A `RaggedTensor` or `Tensor` of strings with any shape.
  
      Returns:
        A `RaggedTensor` of bytes. The returned shape is the shape of the
        input tensor with an added ragged dimension for the bytes that make up
        each string.
      """
      (bytez, _, _) = self.split_with_offsets(input)
      return bytez
  
file_path: text/tensorflow_text/python/ops/byte_splitter.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensorflow.python.eager import monitoring
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops.ragged import ragged_conversion_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensor
  from tensorflow_text.python.ops.tokenization import SplitterWithOffsets
  from tensorflow.python.framework import load_library
  from tensorflow.python.platform import resource_loader
label_desc: Use image node_id 2 for calling the ByteSplitter obj's underlying member method code with example usage: obj.split(input) and returns: bytez