Home
last modified time | relevance | path

Searched refs:new_symbol (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/pyct/
Dnaming_test.py29 self.assertEqual('temp', namer.new_symbol('temp', set()))
34 self.assertEqual('temp', namer.new_symbol('temp', set()))
35 self.assertEqual('temp_1', namer.new_symbol('temp', set()))
41 self.assertEqual('temp_1', namer.new_symbol('temp', set()))
43 self.assertEqual('temp_3', namer.new_symbol('temp', set(('temp_2',))))
Dtranspiler.py177 inner_factory_name = namer.new_symbol(inner_factory_name, ())
178 outer_factory_name = namer.new_symbol(outer_factory_name, ())
353 new_name = namer.new_symbol(self.get_transformed_name(node), ())
Dnaming.py31 def new_symbol(self, name_root, reserved_locals): member in Namer
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow_deprecated_py2.py250 self.ctx.namer.new_symbol(s.ssf(), body_scope.referenced)
253 self.ctx.namer.new_symbol(s.ssf(), orelse_scope.referenced)
263 cond_var_name = self.ctx.namer.new_symbol('cond', body_scope.referenced)
264 body_name = self.ctx.namer.new_symbol('if_true', body_scope.referenced)
265 orelse_name = self.ctx.namer.new_symbol('if_false', orelse_scope.referenced)
267 state_getter_name = self.ctx.namer.new_symbol('get_state', all_referenced)
268 state_setter_name = self.ctx.namer.new_symbol('set_state', all_referenced)
410 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved_symbols)
411 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved_symbols)
447 test_name=self.ctx.namer.new_symbol('loop_test', reserved_symbols),
[all …]
Dcontrol_flow.py218 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved)
219 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved)
248 body_name=self.ctx.namer.new_symbol('if_body', reserved),
250 orelse_name=self.ctx.namer.new_symbol('else_body', reserved),
273 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved)
274 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved)
299 body_name=self.ctx.namer.new_symbol('loop_body', reserved),
307 test_name=self.ctx.namer.new_symbol('loop_test', reserved),
325 state_getter_name = self.ctx.namer.new_symbol('get_state', reserved)
326 state_setter_name = self.ctx.namer.new_symbol('set_state', reserved)
[all …]
Dfunctions.py63 function_context_name = self.ctx.namer.new_symbol('lscope',
85 function_context_name = self.ctx.namer.new_symbol('fscope',
Dbreak_statements.py78 break_var = self.ctx.namer.new_symbol('break_', scope.referenced)
124 break_var = self.ctx.namer.new_symbol('break_', scope.referenced)
Dreturn_statements.py347 do_return_var_name = self.ctx.namer.new_symbol('do_return',
349 retval_var_name = self.ctx.namer.new_symbol('retval_', scope.referenced)
Dcontinue_statements.py103 continue_var = self.ctx.namer.new_symbol('continue_', scope.referenced)
Dlists.py102 pop_var_name = self.ctx.namer.new_symbol(target_name, scope.referenced)
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2_test.py2200 new_symbol = "tf.math.conj(a)"
2204 expected_text = "import tensorflow.compat.v2 as tf\n" + new_symbol
2212 expected_text = new_import_header + new_symbol
2224 expected_text = expected_header + new_symbol
2235 expected_text = expected_header + new_symbol
2247 expected_text = expected_header + new_symbol
2254 expected_text = "from tensorflow.compat.v2 import foo\n" + new_symbol
2261 expected_text = "from tensorflow.compat.v2 import *\n" + new_symbol
2268 expected_text = "from tensorflow.compat.v2.foo import bar\n" + new_symbol
2280 expected_text = expected_header + new_symbol
[all …]
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_communication.cc383 const Optional<StringRef>& new_symbol, Value token) { in RewriteCallOp() argument
390 call.getLoc(), new_result_types, new_symbol ? *new_symbol : call.callee(), in RewriteCallOp()
/external/tensorflow/tensorflow/python/tf_program/
Dmlir_gen.py221 self.ctx.namer.new_symbol(node.name, []),
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_gen.py693 return '%' + self.ctx.namer.new_symbol(prefix, set())