API 参考:主要
API 参考:杂项
API 参考:开发
模块:polygraphy.backend.tf
polygraphy.backend.tf
OptimizeGraph
OptimizeGraph.call_impl()
OptimizeGraph.__call__()
optimize_graph()
GraphFromKeras
GraphFromKeras.call_impl()
GraphFromKeras.__call__()
graph_from_keras()
GraphFromFrozen
GraphFromFrozen.call_impl()
GraphFromFrozen.__call__()
graph_from_frozen()
GraphFromCkpt
GraphFromCkpt.call_impl()
GraphFromCkpt.__call__()
graph_from_ckpt()
UseTfTrt
UseTfTrt.call_impl()
UseTfTrt.__call__()
use_tf_trt()
ModifyGraphOutputs
ModifyGraphOutputs.call_impl()
ModifyGraphOutputs.__call__()
modify_graph_outputs()
SaveGraph
SaveGraph.call_impl()
SaveGraph.__call__()
save_graph()
CreateConfig
CreateConfig.call_impl()
CreateConfig.__call__()
create_config()
SessionFromGraph
SessionFromGraph.call_impl()
SessionFromGraph.__call__()
session_from_graph()
TfRunner
TfRunner.__enter__()
TfRunner.__exit__()
TfRunner.activate()
TfRunner.deactivate()
TfRunner.get_input_metadata()
TfRunner.infer()
TfRunner.inference_time
TfRunner.last_inference_time()
TfRunner.is_active