Searched refs:FuncGraph (Results 1 – 17 of 17) sorted by relevance
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_util_v2.py | 26 from tensorflow.python.framework.func_graph import FuncGraph 30 class CondBranchFuncGraph(FuncGraph): 38 class WhileCondFuncGraph(FuncGraph): 46 class WhileBodyFuncGraph(FuncGraph): 62 return isinstance(graph, FuncGraph)
|
D | gradients_util.py | 36 from tensorflow.python.framework.func_graph import FuncGraph 450 return (isinstance(graph, FuncGraph) or 455 if isinstance(func_graph, FuncGraph): 574 if isinstance(curr_graph, FuncGraph):
|
D | while_v2.py | 622 assert isinstance(tensor.graph, func_graph_module.FuncGraph) 942 while isinstance(outer_graph, func_graph_module.FuncGraph): 949 if isinstance(graph, func_graph_module.FuncGraph):
|
/external/tensorflow/tensorflow/python/framework/ |
D | func_graph.py | 126 class FuncGraph(ops.Graph): class 176 super(FuncGraph, self).__init__() 192 self.outer_graph, FuncGraph): 255 return super(FuncGraph, self).control_dependencies(control_inputs) 271 return super(FuncGraph, self).control_dependencies(filtered_control_inputs) 274 outer_cm = super(FuncGraph, self).as_default() 450 return super(FuncGraph, self).create_op( 478 while inner_graph is not None and isinstance(inner_graph, FuncGraph): 586 func_graph = FuncGraph(name, collections=collections, 588 assert isinstance(func_graph, FuncGraph)
|
D | function_def_to_graph.py | 28 from tensorflow.python.framework.func_graph import FuncGraph 50 func_graph = FuncGraph(fdef.signature.name)
|
D | convert_to_constants.py | 91 output_graph = func_graph.FuncGraph(input_func.graph.name)
|
/external/tensorflow/tensorflow/python/eager/ |
D | lift_to_graph_test.py | 44 g = func_graph.FuncGraph('lifted')
|
D | lift_to_graph.py | 280 if (isinstance(base_graph, func_graph.FuncGraph) and 281 isinstance(graph, func_graph.FuncGraph)):
|
D | wrap_function.py | 176 pruned_graph = func_graph.FuncGraph(name) 263 self.graph = func_graph.FuncGraph(name, collections=collections, **kwargs)
|
D | def_function.py | 345 lifted_initializer_graph = func_graph_module.FuncGraph("initializer")
|
D | function.py | 765 backwards_graph = func_graph_module.FuncGraph(
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | function_deserialization.py | 78 with func_graph_lib.FuncGraph(name="guess_conversion").as_default():
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/ |
D | trt_convert.py | 296 converted_graph = func_graph.FuncGraph(func.graph.name)
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | mirrored_strategy_multigpu_test.py | 277 with func_graph.FuncGraph("fg").as_default(), distribution.scope(): 330 with func_graph.FuncGraph("fg").as_default(), distribution.scope():
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_layer.py | 466 graph = func_graph.FuncGraph('graph')
|
D | network.py | 799 graph = func_graph.FuncGraph('build_graph')
|
/external/tensorflow/tensorflow/python/keras/ |
D | backend.py | 460 _GRAPH = func_graph.FuncGraph('keras_graph') 492 graph = graph or func_graph.FuncGraph('keras_scratch_graph')
|