◆ __init__()
def polygraphy.backend.tf.loader.GraphFromKeras.__init__ |
( |
|
self, |
|
|
|
path |
|
) |
| |
Functor that loads a TensorFlow model from Keras.
Args:
path (Union[str, h5py.File]): A path to the saved model, or the file object.
◆ __call__()
def polygraphy.backend.tf.loader.GraphFromKeras.__call__ |
( |
|
self | ) |
|
Loads a TensorFlow model from Keras.
Returns:
Tuple[tf.Graph, Sequence[str]]: The TensorFlow graph, and the names of its outputs.
◆ path
polygraphy.backend.tf.loader.GraphFromKeras.path |
The documentation for this class was generated from the following file: