TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
polygraphy.backend.tf.loader.GraphFromKeras Class Reference
Inheritance diagram for polygraphy.backend.tf.loader.GraphFromKeras:
Collaboration diagram for polygraphy.backend.tf.loader.GraphFromKeras:

Public Member Functions

def __init__ (self, path)
 
def __call__ (self)
 

Public Attributes

 path
 

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ __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.

Member Data Documentation

◆ path

polygraphy.backend.tf.loader.GraphFromKeras.path

The documentation for this class was generated from the following file: