MCPcopy Create free account
hub / github.com/tensorflow/lingvo / LoadInferenceGraph

Function LoadInferenceGraph

lingvo/core/predictor.py:36–55  ·  view source on GitHub ↗

Parse the given path as an InferenceGraph proto. Args: path: The path to the file to load. clear_device_placement: If true, clears device field from nodes in graph. Returns: An InferenceGraph object.

(path, clear_device_placement=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…