

OptionaldataOptionalheightDescribes the image height in pixel
OptionalnormDescribes normalization parameters when preprocessing the image as model input.
Data element are ranged from 0 to 255.
Optionalbias?: number | [number, number, number] | [number, number, number, number]The 'bias' value for image normalization.
Optionalmean?: number | [number, number, number] | [number, number, number, number]The 'mean' value for image normalization.
OptionalresizedDescribes the resized height. If omitted, original height will be used.
OptionalresizedDescribes resized width - can be accessed via tensor dimensions as well
OptionaltensorDescribes the image format of the tensor.
NOTE: this is different from option 'format'. While option 'format' represents the original image, 'tensorFormat' represents the target format of the tensor. A transpose will be performed if they are different.
OptionaltensorDescribes the tensor layout when representing data of one or more image(s).
OptionalwidthDescribes the image width in pixel
Describes the data type of the tensor.