Home
last modified time | relevance | path

Searched refs:export_scope (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py58 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 …]
Dmeta_graph_test.py383 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 …]
Dops.py6433 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/
Dqueue_runner_impl.py358 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)
Dsaver.py975 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 …]
Dsaver_test.py2740 export_scope="hidden1")
2842 export_scope="hidden1")
2899 graph_def=graph1.as_graph_def(), export_scope="hidden1")
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py700 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 …]
Dvariables.py1184 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 …]
Dresource_variable_ops.py692 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)
Dcontrol_flow_ops_test.py515 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/
Dtensorflow.train.-saver.pbtxt23 …argspec: "args=[\'self\', \'filename\', \'collection_list\', \'as_text\', \'export_scope\', \'clea…
51 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.-variable.-save-slice-info.pbtxt15 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.train.queue_runner.-queue-runner.pbtxt47 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.train.-queue-runner.pbtxt47 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.-variable.pbtxt165 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.train.pbtxt309 …_def\', \'saver_def\', \'collection_list\', \'as_text\', \'graph\', \'export_scope\', \'clear_devi…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-variable.-save-slice-info.pbtxt15 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.-variable.pbtxt164 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dautocast_variable.py286 def to_proto(self, export_scope=None): argument
287 return self._variable.to_proto(export_scope)
/external/tensorflow/tensorflow/python/summary/
Dsummary_test.py228 metagraph_def, _ = meta_graph.export_scoped_meta_graph(export_scope='outer')
/external/tensorflow/tensorflow/python/distribute/
Dvalues.py502 def to_proto(self, export_scope=None): argument
503 return self.primary.to_proto(export_scope=export_scope)
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2_test.py444 def to_proto(self, export_scope=None): argument
445 full_proto = super(_MissingFieldsVariable, self).to_proto(export_scope)
/external/tensorflow/tensorflow/python/tpu/
Dtpu.py661 def to_control_flow_context_def(self, context_def, export_scope=None): argument