Home
last modified time | relevance | path

Searched refs:replaced_graph_def (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dsparsify_gather.cc250 GraphDef replaced_graph_def = current_graph_def; in SparsifyGatherInternal() local
449 {true}, &replaced_graph_def)); in SparsifyGatherInternal()
452 for (int i = 0; i < replaced_graph_def.node_size(); i++) { in SparsifyGatherInternal()
453 if (replaced_graph_def.node(i).name() == group_init_node && in SparsifyGatherInternal()
454 replaced_graph_def.node(i).op() == "NoOp") { in SparsifyGatherInternal()
455 init_op = replaced_graph_def.mutable_node(i); in SparsifyGatherInternal()
461 init_op = replaced_graph_def.mutable_node()->Add(); in SparsifyGatherInternal()
492 while (i < replaced_graph_def.node_size()) { in SparsifyGatherInternal()
494 if ((replaced_graph_def.node(i).name() == name) && in SparsifyGatherInternal()
495 (replaced_graph_def.node(i).op() != "RestoreV2")) { in SparsifyGatherInternal()
[all …]
Dfuse_convolutions.cc31 GraphDef replaced_graph_def; in FuseResizePadAndConv() local
77 {}, &replaced_graph_def)); in FuseResizePadAndConv()
78 *output_graph_def = replaced_graph_def; in FuseResizePadAndConv()
85 GraphDef replaced_graph_def; in FuseResizeAndConv() local
132 {}, &replaced_graph_def)); in FuseResizeAndConv()
133 *output_graph_def = replaced_graph_def; in FuseResizeAndConv()
140 GraphDef replaced_graph_def; in FusePadAndConv() local
186 {}, &replaced_graph_def)); in FusePadAndConv()
187 *output_graph_def = replaced_graph_def; in FusePadAndConv()
Dfold_old_batch_norms.cc293 GraphDef replaced_graph_def; in FoldOldBatchNorms() local
318 {}, &replaced_graph_def)); in FoldOldBatchNorms()
319 current_graph_def = replaced_graph_def; in FoldOldBatchNorms()
324 GraphDef replaced_graph_def; in FoldOldBatchNorms() local
355 {}, &replaced_graph_def)); in FoldOldBatchNorms()
356 current_graph_def = replaced_graph_def; in FoldOldBatchNorms()
361 GraphDef replaced_graph_def; in FoldOldBatchNorms() local
398 {}, &replaced_graph_def)); in FoldOldBatchNorms()
399 current_graph_def = replaced_graph_def; in FoldOldBatchNorms()
Dfold_batch_norms.cc34 GraphDef replaced_graph_def; in FoldBatchNorms() local
117 {}, &replaced_graph_def)); in FoldBatchNorms()
118 *output_graph_def = replaced_graph_def; in FoldBatchNorms()
Dremove_nodes.cc66 GraphDef replaced_graph_def; in RemoveNodes() local
99 {true}, &replaced_graph_def)); in RemoveNodes()
102 RenameNodeInputs(replaced_graph_def, inputs_to_rename, in RemoveNodes()
Dbackports.cc67 GraphDef replaced_graph_def; in BackportTensorArrayV3Transform() local
105 {true}, &replaced_graph_def)); in BackportTensorArrayV3Transform()
109 TF_RETURN_IF_ERROR(RenameNodeInputs(replaced_graph_def, inputs_to_rename, in BackportTensorArrayV3Transform()
Dflatten_atrous.cc29 GraphDef replaced_graph_def; in FlattenAtrousConv() local
132 {}, &replaced_graph_def)); in FlattenAtrousConv()
133 *output_graph_def = replaced_graph_def; in FlattenAtrousConv()
Dquantize_nodes.cc269 GraphDef replaced_graph_def; in RemoveRedundantQuantizations() local
302 {true}, &replaced_graph_def)); in RemoveRedundantQuantizations()
304 return RenameNodeInputs(replaced_graph_def, inputs_to_rename, in RemoveRedundantQuantizations()
Dtransform_utils_test.cc432 GraphDef replaced_graph_def; in TestReplaceMatchingOpTypes() local
452 {}, &replaced_graph_def)); in TestReplaceMatchingOpTypes()
454 EXPECT_EQ(10, replaced_graph_def.node_size()); in TestReplaceMatchingOpTypes()
455 for (const NodeDef& node : replaced_graph_def.node()) { in TestReplaceMatchingOpTypes()
DREADME.md1007 {}, &replaced_graph_def));