View Source NxColor.Image (NxColor v0.0.1-dev)

Image struct which holds the data for the images

Link to this section Summary

Functions

Creates a new NxColor Image struct from a tensor and a colorspace

Link to this section Types

@type t() :: %NxColor.Image{colorspace: atom(), tensor: Nx.Tensor.t()}

Link to this section Functions

Link to this function

new(image_tensor, colorspace)

View Source

Creates a new NxColor Image struct from a tensor and a colorspace