Searched refs:program_ctx (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | conversion_test.py | 51 program_ctx = self._simple_program_ctx() 52 conversion.entity_to_graph('dummy', program_ctx, None, None) 59 program_ctx = self._simple_program_ctx() 60 nodes, name, ns = conversion.entity_to_graph(f, program_ctx, None, None) 72 program_ctx = self._simple_program_ctx() 73 nodes, name, _ = conversion.entity_to_graph(f, program_ctx, None, None) 88 program_ctx = self._simple_program_ctx() 89 nodes, _, _ = conversion.entity_to_graph(f, program_ctx, None, None) 118 program_ctx = self._simple_program_ctx() 120 conversion.entity_to_graph(TestSubclass, program_ctx, None, None) [all …]
|
D | conversion.py | 158 def entity_to_graph(o, program_ctx, arg_values, arg_types): argument 189 nodes, name, ns = class_to_graph(o, program_ctx) 191 nodes, name, ns = function_to_graph(o, program_ctx, arg_values, arg_types) 193 nodes, name, ns = function_to_graph(o, program_ctx, arg_values, arg_types) 229 def class_to_graph(c, program_ctx): argument 245 program_ctx=program_ctx, 335 def function_to_graph(f, program_ctx, arg_values, arg_types, do_rename=True): argument 359 _add_self_references(namespace, program_ctx.autograph_module) 368 context = converter.EntityContext(namer, entity_info, program_ctx)
|
D | api.py | 449 program_ctx = converter.ProgramContext( 454 nodes, name, namespace = conversion.entity_to_graph(entity, program_ctx, 459 source_prefix=program_ctx.required_imports, 539 program_ctx = converter.ProgramContext( 544 nodes, _, _ = conversion.entity_to_graph(entity, program_ctx, arg_values, 549 return program_ctx.required_imports + '\n\n' + code
|
/external/tensorflow/tensorflow/python/autograph/core/ |
D | converter_testing.py | 127 program_ctx = converter.ProgramContext( 136 ctx = converter.EntityContext(namer, entity_info, program_ctx)
|
D | converter.py | 247 def __init__(self, namer, entity_info, program_ctx): argument 250 self.program = program_ctx
|