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

Function get_name_scope

tensorflow/tensorflow/python/framework/ops.py:5882–5899  ·  view source on GitHub ↗

Returns the current name scope in the default_graph. For example: ```python with tf.name_scope('scope1'): with tf.name_scope('scope2'): print(tf.get_name_scope()) ``` would print the string `scope1/scope2`. Returns: A string representing the current name scope.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

get_default_graphFunction · 0.85
executing_eagerlyMethod · 0.80
get_name_scopeMethod · 0.80
contextMethod · 0.45

Tested by

no test coverage detected