MCPcopy Create free account
hub / github.com/alibaba/nann / init_scope

Function init_scope

tensorflow/tensorflow/python/framework/ops.py:5533–5633  ·  view source on GitHub ↗

A context manager that lifts ops out of control-flow scopes and function-building graphs. There is often a need to lift variable initialization ops out of control-flow scopes, function-building graphs, and gradient tapes. Entering an `init_scope` is a mechanism for satisfying these desiderata

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

get_default_graphFunction · 0.85
control_dependenciesFunction · 0.85
executing_eagerlyMethod · 0.80
stop_recordingMethod · 0.80
get_name_scopeMethod · 0.80
peek_objsMethod · 0.80
name_scopeClass · 0.70

Tested by

no test coverage detected