load

fun load(modelDirectory: File, loadOptimizerState: Boolean = false): TensorFlowInferenceModel

Loads tensorflow graphs and variable data (if required). It loads graph from .pb file format and variable data from .txt files

Parameters

modelDirectory

Path to directory with TensorFlow graph and variable data.

loadOptimizerState

Loads optimizer internal variables data, if true.