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

Function ModelAnalysis

lingvo/core/summary_utils.py:432–510  ·  view source on GitHub ↗

Returns a text showing variable sizes and their total size. Args: model: a Model object; topn: number of top-sized tensors to print it out; part_pattern: a Dict with key being the part name, and the value is a regex to match the variables for the specific part.

(model, topn=0, part_pattern=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

AnalyzerClass · 0.85
DebugStringMethod · 0.45
TransformMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…