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

Function Current

lingvo/core/cluster_factory.py:29–41  ·  view source on GitHub ↗

Returns the current cluster specification. E.g.:: with Cluster(cluster_params) as foo: model = p.Instantiate() model.FProp() # FProp can access foo through cluster_factory.Current().

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ForTestingWorkerFunction · 0.85
SetEvalFunction · 0.85
SetModelSplitFunction · 0.85

Calls 2

TopMethod · 0.80
ParamsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…