ModelType
Basic interface for models loaded from S3.
Parameters
T
the type of the basic model for common functionality.
U
the type of the pre-trained model for usage in Easy API.
Functions
preInit
Link copied to clipboard
preprocessInput
Link copied to clipboard
open fun preprocessInput(imageFile: File, preprocessing: Preprocessing): FloatArray
Content copied to clipboard
abstract fun preprocessInput(data: FloatArray, tensorShape: LongArray): FloatArray
Content copied to clipboard
Common preprocessing function for the Neural Networks trained on ImageNet and whose weights are available with the keras.application.
pretrainedModel
Link copied to clipboard
Returns the specially prepared pre-trained model of the type U.
Properties
Inheritors
TFModels
Link copied to clipboard