Home
last modified time | relevance | path

Searched refs:replace_as_expression (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/converters/
Dlists.py59 return templates.replace_as_expression(template, elements=node)
109 return templates.replace_as_expression('var_name', var_name=pop_var_name)
117 default=templates.replace_as_expression('None'))
125 return templates.replace_as_expression(
170 default=templates.replace_as_expression('None'))
175 default=templates.replace_as_expression('None'))
Dlogical_expressions.py62 return templates.replace_as_expression('lambda: expr', expr=expr)
65 return templates.replace_as_expression(
72 template = templates.replace_as_expression(
80 return templates.replace_as_expression(
Dslices.py74 default=templates.replace_as_expression('None'))
82 return templates.replace_as_expression(
Dfunctions.py59 return templates.replace_as_expression(
72 node.body = templates.replace_as_expression(
Dconditional_expressions.py40 return templates.replace_as_expression(
Dreturn_statements.py289 node.test = templates.replace_as_expression(
306 extra_test = templates.replace_as_expression(
311 extra_test = templates.replace_as_expression(
Dvariables.py60 node = templates.replace_as_expression('ag__.ld(var_)', var_=node)
Dcall_trees.py201 new_call = templates.replace_as_expression(
Dbreak_statements.py154 extra_test = templates.replace_as_expression(
Dcontrol_flow_deprecated_py2.py293 returned_from_body = (templates.replace_as_expression(
296 returned_from_orelse = (templates.replace_as_expression(
Dcontrol_flow.py89 templates.replace_as_expression(
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtemplates_test.py275 node = templates.replace_as_expression(template, foo='bar', a='baz')
286 templates.replace_as_expression(template)
293 templates.replace_as_expression(template, bar=source)
Dtemplates.py279 def replace_as_expression(template, **replacements): function