Functions
Link copied to clipboard
Create an Image from a tensor, inferring color space from channel count.
fun <T : DType, V> fromTensor(tensor: Tensor<T, V>, layout: ImageLayout, colorSpace: ColorSpace): Image<T, V>
Create an Image from an existing tensor with explicit metadata.