TFModelType

interface TFModelType<T : TensorFlowInferenceModel, U : InferenceModel> : ModelType<T, U>

Base ModelType for TensorFlow models.

See also

Functions

loadModelConfiguration
Link copied to clipboard
abstract fun loadModelConfiguration(jsonFile: File): T

Loads model configuration from the provided jsonFile.

model
Link copied to clipboard
open fun model(modelHub: ModelHub): T
pretrainedModel
Link copied to clipboard
abstract fun pretrainedModel(modelHub: ModelHub): U

Properties

modelRelativePath
Link copied to clipboard
abstract val modelRelativePath: String
preprocessor
Link copied to clipboard
open val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>

Inheritors

TFModels
Link copied to clipboard