img2tensor
Overview
Description
Converts an image type to a mathematical tensor (i.e. an array of any number of dimentions) with value of integers ranging from 0 to 255.
Implementation details
Converts a image.image type to a rank 3 or 4 tensor of integers with and without alpha. The standard "image" golang library is used
Compliance to Spec
Rough level of compliance
100%