Home
last modified time | relevance | path

Searched refs:scope_name (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator_mgr.cc23 const Tensor& backing_tensor, int32 scope_id, const string& scope_name, in AddScopedAllocator() argument
33 scope_id, " for name ", scope_name, in AddScopedAllocator()
40 " for name ", scope_name, " already exists"); in AddScopedAllocator()
45 backing_tensor, scope_id, scope_name, fields, expected_call_count, this); in AddScopedAllocator()
154 const string& scope_name, in AddScopedAllocator() argument
158 return sac->AddScopedAllocator(backing_tensor, scope_id, scope_name, fields, in AddScopedAllocator()
Dscoped_allocator_mgr.h36 const std::string& scope_name,
85 const std::string& scope_name,
/external/tensorflow/tensorflow/python/autograph/core/
Dfunction_wrappers.py47 def __init__(self, function_name, scope_name, options): argument
48 self.name = scope_name
114 def with_function_scope(thunk, scope_name, options): argument
116 with FunctionScope('lambda_', scope_name, options) as scope:
/external/tensorflow/tensorflow/python/module/
Dmodule.py123 with ops.name_scope_v2(name) as scope_name:
124 self._name_scope = ops.name_scope_v2(scope_name)
126 with ops.name_scope(name, skip_on_eager=False) as scope_name:
127 self._scope_name = scope_name
Dmodule_test.py344 x, scope_name = mod(2.)
346 self.assertEqual(scope_name, "concrete_module/")
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_addition.py286 scope_name = self.name
287 if scope_name.startswith("_"):
288 scope_name = scope_name[1:]
289 with ops.name_scope(scope_name, values=values):
/external/ruy/ruy/
Dtrace.h107 void EnterScope(const char* scope_name) { in EnterScope() argument
108 Write("%s {", scope_name); in EnterScope()
111 void LeaveScope(const char* scope_name) { in LeaveScope() argument
113 Write("} // end of %s", scope_name); in LeaveScope()
357 const char* scope_name) in RuyTraceScope() argument
360 scope_name_(scope_name) { in RuyTraceScope()
/external/tensorflow/tensorflow/python/kernel_tests/
Dtemplate_test.py45 def internally_variable_scoped_function(scope_name): argument
46 with variable_scope.variable_scope(scope_name):
268 "s1", internally_variable_scoped_function, scope_name="test")
270 "s1", internally_variable_scoped_function, scope_name="test")
717 def variable_scoped_function_no_return_value(scope_name): argument
719 with variable_scope.variable_scope(scope_name):
727 scope_name="test")
/external/tensorflow/tensorflow/python/training/
Doptimizer.py618 scope_name = ""
620 scope_name = var.op.name
622 "update_" + scope_name,
702 scope_name = v.name.split(":")[0]
704 scope_name = v.op.name
709 with ops.name_scope("update_" + scope_name):
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py1426 def open_variable_scope(self, scope_name): argument
1427 if scope_name in self.variable_scopes_count:
1428 self.variable_scopes_count[scope_name] += 1
1430 self.variable_scopes_count[scope_name] = 1
1432 def close_variable_subscopes(self, scope_name): argument
1434 if scope_name is None or k.startswith(scope_name + "/"):
1437 def variable_scope_count(self, scope_name): argument
1438 return self.variable_scopes_count.get(scope_name, 0)
Ddata_flow_ops.py175 if context.context().scope_name:
176 self._name = context.context().scope_name
1073 self._name = context.context().scope_name
1266 self._name = context.context().scope_name
/external/tensorflow/tensorflow/python/eager/
Dcontext.py838 def scope_name(self): member in Context
840 return self._thread_local_data.scope_name
842 @scope_name.setter
843 def scope_name(self, s): member in Context
845 self._thread_local_data.scope_name = s
2045 def scope_name(): function
2047 return context().scope_name
Dpywrap_tfe.h416 tensorflow::Safe_PyObjectPtr scope_name; member
Dcore_test.py332 self.assertEqual('', ctx.scope_name)
333 ctx.scope_name = 'foo'
334 self.assertEqual('foo', ctx.scope_name)
452 ctx.scope_name,
/external/tensorflow/tensorflow/python/framework/
Dops_test.py2528 with foo as scope_name:
2529 self.assertEqual("foo/", scope_name)
2530 with foo as scope_name:
2531 self.assertEqual("foo/foo/", scope_name)
2532 with bar as scope_name:
2533 self.assertEqual("foo/bar/", scope_name)
2534 with foo as scope_name:
2535 self.assertEqual("foo/bar/foo/", scope_name)
2536 with bar as scope_name:
2537 self.assertEqual("bar/", scope_name)
[all …]
Dops.py6067 return context.context().scope_name.rstrip("/")
6653 old_name = ctx.scope_name
6656 scope_name = ""
6658 scope_name = name
6660 scope_name = old_name + name + "/"
6662 scope_name = name + "/"
6663 ctx.scope_name = scope_name
6666 ctx.scope_name = old_name
6671 scope_name = scope.__enter__()
6673 return scope_name
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dactivity.py471 def _process_block_node(self, node, block, scope_name): argument
474 self._exit_and_record_scope(node, tag=scope_name)
484 for child, scope_name in children:
486 parent = self._process_block_node(parent, child, scope_name)
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc251 string scope_name; in GetEngineInfo() local
254 &info->segment_graph_def, &scope_name)); in GetEngineInfo()
255 info->engine_name = StrCat(scope_name, info->engine_name); in GetEngineInfo()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.-flatten.pbtxt97 name: "scope_name"
Dtensorflow.layers.-max-pooling1-d.pbtxt98 name: "scope_name"
Dtensorflow.layers.-conv3-d.pbtxt98 name: "scope_name"
Dtensorflow.layers.-average-pooling2-d.pbtxt98 name: "scope_name"
Dtensorflow.layers.-dense.pbtxt97 name: "scope_name"
Dtensorflow.layers.-conv1-d.pbtxt98 name: "scope_name"
Dtensorflow.nn.rnn_cell.-r-n-n-cell.pbtxt100 name: "scope_name"

123