tfg.io.exr.write_exr

Writes the values in a multi-channel ndarray into an EXR file.

filename The filename of the output file
values A numpy ndarray with shape [height, width, channels]
channel_names A list of strings with length = channels

TypeError If the numpy array has an unsupported type.
ValueError If the length of the array and the length of the channel names list do not match.