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.py57 def _node_def(from_node_def, export_scope, unbound_inputs, clear_devices=False): argument
72 if (export_scope and
73 not node_def.input[i].lstrip("^").startswith(export_scope)):
81 node_def.input[i] = ops.strip_name_scope(v, export_scope)
83 ops.strip_name_scope(from_node_def.name, export_scope))
87 ops.strip_name_scope(s, export_scope)) for s in v.list.s
88 if not export_scope or
89 compat.as_str(s).split("@")[1].startswith(export_scope)]
93 if not export_scope or compat.as_str(v.s).startswith(export_scope):
94 new_s = compat.as_bytes(ops.strip_name_scope(v.s, export_scope))
[all …]
Dmeta_graph_test.py360 export_scope="hidden1")
370 export_scope="hidden2",
375 export_scope="softmax_linear",
445 graph=graph, export_scope="new_hidden1")
449 graph=graph, export_scope="new_hidden2", unbound_inputs_col_name=None)
454 export_scope="new_softmax_linear",
494 export_scope="export")
510 export_scope="import")
677 export_scope="queue1")
694 export_scope="new_queue1")
[all …]
Dops.py6407 def strip_name_scope(name, export_scope): argument
6418 if export_scope:
6419 if export_scope[-1] == "/":
6420 export_scope = export_scope[:-1]
6425 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.py977 def to_proto(self, export_scope=None): argument
986 if export_scope is None:
989 if not (self.saver_def.filename_tensor_name.startswith(export_scope) and
990 self.saver_def.save_tensor_name.startswith(export_scope) and
991 self.saver_def.restore_op_name.startswith(export_scope)):
997 saver_def.filename_tensor_name, export_scope)
999 saver_def.save_tensor_name, export_scope)
1001 saver_def.restore_op_name, export_scope)
1212 export_scope=None, argument
1247 export_scope=export_scope,
[all …]
Dsaver_test.py2547 export_scope="hidden1")
2649 export_scope="hidden1")
2706 graph_def=graph1.as_graph_def(), export_scope="hidden1")
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py905 def to_proto(self, export_scope=None): argument
920 if export_scope is None or self.handle.name.startswith(export_scope):
923 export_scope)
929 self._initial_value.name, export_scope)
931 export_scope)
934 export_scope)
938 export_scope)
943 self._save_slice_info.to_proto(export_scope=export_scope))
1522 def _to_proto_fn(v, export_scope=None): argument
1524 return v.to_proto(export_scope=export_scope)
Dcontrol_flow_ops.py1433 def to_control_flow_context_def(self, context_def, export_scope=None): argument
1442 def _to_values_def(self, export_scope=None): argument
1453 [ops.strip_name_scope(v, export_scope) for v in sorted(self._values)])
1455 k = ops.strip_name_scope(k, export_scope)
1456 values_def.external_values[k] = ops.strip_name_scope(v.name, export_scope)
1637 def to_proto(self, export_scope=None): argument
1646 if (export_scope is None or self.name.startswith(export_scope)):
1648 context_def.context_name = ops.strip_name_scope(self.name, export_scope)
1650 export_scope)
1652 export_scope)
[all …]
Dvariables.py1038 def to_proto(self, export_scope=None): argument
1126 def to_proto(self, export_scope=None): argument
1136 if (export_scope is None or
1137 self.full_name.startswith(export_scope)):
1140 self.full_name, export_scope)
2226 def to_proto(self, export_scope=None): argument
2236 if (export_scope is None or
2237 self._variable.name.startswith(export_scope)):
2240 self._variable.name, export_scope)
2244 self._initial_value.name, export_scope)
[all …]
Dcontrol_flow_ops_test.py470 def to_control_flow_context_def(self, context_def, export_scope=None): argument
472 context_def, export_scope)
496 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.pbtxt47 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.-variable.pbtxt129 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
Dtensorflow.train.pbtxt305 …_def\', \'saver_def\', \'collection_list\', \'as_text\', \'graph\', \'export_scope\', \'clear_devi…
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dkeras_tpu_variables.py131 def to_proto(self, export_scope=None): argument
132 return self._primary_var.to_proto(export_scope=export_scope)
/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.pbtxt128 argspec: "args=[\'self\', \'export_scope\'], varargs=None, keywords=None, defaults=[\'None\'], "
/external/tensorflow/tensorflow/python/distribute/
Dvalues.py558 def to_proto(self, export_scope=None): argument
559 return self.primary.to_proto(export_scope=export_scope)
1090 def to_proto(self, export_scope=None): argument
1091 return self.primary.to_proto(export_scope=export_scope)
/external/tensorflow/tensorflow/python/summary/
Dsummary_test.py228 metagraph_def, _ = meta_graph.export_scoped_meta_graph(export_scope='outer')
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam.py700 def to_proto(self, export_scope=None): # pylint: disable=unused-argument argument
/external/tensorflow/tensorflow/python/tpu/
Dtpu_estimator.py3364 def to_control_flow_context_def(self, context_def, export_scope=None): argument
3368 context_def, export_scope)