a object containing model topology (i.e., parsed from the JSON format).
Optional
weightSpecs: WeightsManifestEntry[]An array of WeightsManifestEntry
objects describing the
names, shapes, types, and quantization of the weight data. Optional.
Optional
weightData: WeightDataA single ArrayBuffer
containing the weight data,
concatenated in the order described by the weightSpecs. Optional.
Optional
trainingConfig: TrainingConfigModel training configuration. Optional.
A passthrough IOHandler
that simply loads the provided data.
Creates an IOHandler that loads model artifacts from memory.
When used in conjunction with
tf.loadLayersModel
, an instance oftf.LayersModel
(Keras-style) can be constructed from the loaded artifacts.