class_docstr: IOTensor
class_docstr_tok: ["IOTensor"]
docstr: Creates an `IOTensor` from a OpenEXR file.
  
  Args:
    filename: A string, the filename of a OpenEXR file.
    name: A name prefix for the IOTensor (optional).
  
  Returns:
    A `IOTensor`.
docstr_tok: ["Creates","an","`","IOTensor","`","from","a","OpenEXR","file",".","Args",":","filename",":","A","string",",","the","filename","of","a","OpenEXR","file",".","name",":","A","name","prefix","for","the","IOTensor","(","optional",")",".","Returns",":","A","`","IOTensor","`","."]
code: def from_exr(cls, filename, **kwargs):
      """Creates an `IOTensor` from a OpenEXR file.
  
      Args:
        filename: A string, the filename of a OpenEXR file.
        name: A name prefix for the IOTensor (optional).
  
      Returns:
        A `IOTensor`.
  
      """
      with tf.name_scope(kwargs.get("name", "IOFromOpenEXR")):
          return openexr_io_tensor_ops.EXRIOTensor(
              filename, internal=True
          )
  
imports: import tensorflow
  from tensorflow_io.python.ops import io_tensor
  from tensorflow_io.python.experimental import openexr_io_tensor_ops
label_desc: Use image node_id 1 for calling the IOTensor obj's underlying member method code with example usage: obj.from_exr(cls, filename) and returns: openexr_io_tensor_ops