/external/tensorflow/tensorflow/python/framework/ |
D | meta_graph.py | 58 def _node_def(from_node_def, export_scope, unbound_inputs, clear_devices=False): argument 73 if (export_scope and 74 not node_def.input[i].lstrip("^").startswith(export_scope)): 82 node_def.input[i] = ops.strip_name_scope(v, export_scope) 84 ops.strip_name_scope(from_node_def.name, export_scope)) 88 ops.strip_name_scope(s, export_scope)) for s in v.list.s 89 if not export_scope or 90 compat.as_str(s).split("@")[1].startswith(export_scope)] 94 if not export_scope or compat.as_str(v.s).startswith(export_scope): 95 new_s = compat.as_bytes(ops.strip_name_scope(v.s, export_scope)) [all …]
|
D | meta_graph_test.py | 383 export_scope="hidden1") 393 export_scope="hidden2", 398 export_scope="softmax_linear", 468 graph=graph, export_scope="new_hidden1") 472 graph=graph, export_scope="new_hidden2", unbound_inputs_col_name=None) 477 export_scope="new_softmax_linear", 517 export_scope="export") 533 export_scope="import") 700 export_scope="queue1") 717 export_scope="new_queue1") [all …]
|
D | ops.py | 6433 def strip_name_scope(name, export_scope): argument 6444 if export_scope: 6445 if export_scope[-1] == "/": 6446 export_scope = export_scope[:-1] 6451 str_to_replace = r"([\^]|loc:@|^)" + export_scope + r"[\/]+(.*)"
|
/external/tensorflow/tensorflow/python/training/ |
D | queue_runner_impl.py | 358 def to_proto(self, export_scope=None): argument 368 if (export_scope is None or 369 self.queue.name.startswith(export_scope)): 372 self.queue.name, export_scope) 375 ops.strip_name_scope(enqueue_op.name, export_scope)) 377 self.close_op.name, export_scope) 379 self.cancel_op.name, export_scope)
|
D | saver.py | 975 def to_proto(self, export_scope=None): argument 984 if export_scope is None: 987 if not (self.saver_def.filename_tensor_name.startswith(export_scope) and 988 self.saver_def.save_tensor_name.startswith(export_scope) and 989 self.saver_def.restore_op_name.startswith(export_scope)): 995 saver_def.filename_tensor_name, export_scope) 997 saver_def.save_tensor_name, export_scope) 999 export_scope) 1214 export_scope=None, argument 1250 export_scope=export_scope, [all …]
|
D | saver_test.py | 2740 export_scope="hidden1") 2842 export_scope="hidden1") 2899 graph_def=graph1.as_graph_def(), export_scope="hidden1")
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_ops.py | 700 def to_control_flow_context_def(self, context_def, export_scope=None): argument 709 def _to_values_def(self, export_scope=None): argument 720 [ops.strip_name_scope(v, export_scope) for v in sorted(self._values)]) 722 k = ops.strip_name_scope(k, export_scope) 723 values_def.external_values[k] = ops.strip_name_scope(v.name, export_scope) 897 def to_proto(self, export_scope=None): argument 906 if (export_scope is None or self.name.startswith(export_scope)): 908 context_def.context_name = ops.strip_name_scope(self.name, export_scope) 910 export_scope) 912 export_scope) [all …]
|
D | variables.py | 1184 def to_proto(self, export_scope=None): argument 1322 def to_proto(self, export_scope=None): argument 1332 if (export_scope is None or self.full_name.startswith(export_scope)): 1335 self.full_name, export_scope) 2582 def to_proto(self, export_scope=None): argument 2592 if (export_scope is None or self._variable.name.startswith(export_scope)): 2595 export_scope) 2599 self._initial_value.name, export_scope) 2604 export_scope) 2606 export_scope) [all …]
|
D | resource_variable_ops.py | 692 def to_proto(self, export_scope=None): argument 707 if export_scope is None or self.handle.name.startswith(export_scope): 710 export_scope) 716 self._initial_value.name, export_scope) 718 export_scope) 721 export_scope) 725 export_scope) 732 self._save_slice_info.to_proto(export_scope=export_scope)) 1983 def _to_proto_fn(v, export_scope=None): argument 1985 return v.to_proto(export_scope=export_scope)
|
D | control_flow_ops_test.py | 515 def to_control_flow_context_def(self, context_def, export_scope=None): argument 517 context_def, export_scope) 541 c_with_scope._to_values_def(export_scope="test_scope"))
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.train.-saver.pbtxt | 23 …argspec: "args=[\'self\', \'filename\', \'collection_list\', \'as_text\', \'export_scope\', \'clea… 51 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
D | tensorflow.-variable.-save-slice-info.pbtxt | 15 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
D | tensorflow.train.queue_runner.-queue-runner.pbtxt | 47 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
D | tensorflow.train.-queue-runner.pbtxt | 47 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
D | tensorflow.-variable.pbtxt | 165 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
D | tensorflow.train.pbtxt | 309 …_def\', \'saver_def\', \'collection_list\', \'as_text\', \'graph\', \'export_scope\', \'clear_devi…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.-variable.-save-slice-info.pbtxt | 15 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
D | tensorflow.-variable.pbtxt | 164 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/ |
D | autocast_variable.py | 286 def to_proto(self, export_scope=None): argument 287 return self._variable.to_proto(export_scope)
|
/external/tensorflow/tensorflow/python/summary/ |
D | summary_test.py | 228 metagraph_def, _ = meta_graph.export_scoped_meta_graph(export_scope='outer')
|
/external/tensorflow/tensorflow/python/distribute/ |
D | values.py | 502 def to_proto(self, export_scope=None): argument 503 return self.primary.to_proto(export_scope=export_scope)
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | load_v1_in_v2_test.py | 444 def to_proto(self, export_scope=None): argument 445 full_proto = super(_MissingFieldsVariable, self).to_proto(export_scope)
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu.py | 661 def to_control_flow_context_def(self, context_def, export_scope=None): argument
|