Optional
dataOptional
normDescribes normalization parameters when preprocessing the image as model input.
Data element are ranged from 0 to 255.
Optional
bias?: number | [number, number, number] | [number, number, number, number]The 'bias' value for image normalization.
Optional
mean?: number | [number, number, number] | [number, number, number, number]The 'mean' value for image normalization.
Optional
resizedDescribes the resized height. If omitted, original height will be used.
Optional
resizedDescribes resized width - can be accessed via tensor dimensions as well
Optional
tensorDescribes 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.
Optional
tensorDescribes the tensor layout when representing data of one or more image(s).
Generated using TypeDoc
Describes the data type of the tensor.