class_docstr: IOLayer
docstr: Obtain a TextIOLayer to be used with tf.keras.
  
  Args:
    filename: A `string` Tensor of the filename.
  
  Returns:
    A class of `TextIOLayer`.
docstr_tok: ["Obtain","a","TextIOLayer","to","be","used","with","tf.keras",".","Args",":","filename",":","A","`","string","`","Tensor","of","the","filename",".","Returns",":","A","class","of","`","TextIOLayer","`","."]
code: def text(cls, filename):
      """Obtain a TextIOLayer to be used with tf.keras.
  
      Args:
        filename: A `string` Tensor of the filename.
  
      Returns:
        A class of `TextIOLayer`.
      """
      return text_io_layer_ops.TextIOLayer(filename)
  
file_path: io/tensorflow_io/python/experimental/io_layer.py
imports: import tensorflow
  from tensorflow_io.python.experimental import text_io_layer_ops
  from tensorflow_io.python.experimental import kafka_io_layer_ops
label_desc: Use image node_id 3 for calling the IOLayer obj's underlying member method code with example usage: obj.text(cls, filename) and returns: text_io_layer_ops