/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | constant_folding.h | 45 static string AddControlDependency(const string& input_name, GraphDef* graph, 62 GraphDef* output) override; 65 const GraphDef& optimize_output, double result) override; 101 Status FoldMergeNode(NodeDef* node, GraphDef* output_graph); 102 Status FoldNode(NodeDef* node, GraphDef* output_graph, 109 NodeDef* node, GraphDef* graph); 112 NodeDef* node, GraphDef* graph); 115 NodeDef* node, GraphDef* graph); 117 GraphDef* graph); 120 NodeDef* node, GraphDef* graph); [all …]
|
D | auto_parallel.h | 39 GraphDef* output) override; 42 const GraphDef& optimize_output, double result) override; 45 GraphDef graph_; 58 GraphDef* graph); 60 void AddSharedNodes(GraphDef* graph); 61 void AddOneReplica(GraphDef* graph, int number); 62 void BuildGraph(GraphDef* graph);
|
/external/tensorflow/tensorflow/core/kernels/ |
D | remote_fused_graph_execute_utils.h | 106 const GraphDef& graph_def, 117 const GraphDef& graph_def, 145 static bool GetOutputTensorShapeType(const GraphDef& graph_def, 150 const GraphDef& graph_def, 172 const bool dry_run_inference, GraphDef* graph_def); 176 const string& executor_name, const GraphDef& subgraph_def, 185 const GraphDef& subgraph_def, const std::vector<string>& inputs, 198 const GraphDef& graph_def, 203 const GraphDef& graph_def, 204 GraphDef* subgraph_def); [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | isolate_placer_inspection_required_ops_pass_test.cc | 41 void RunPass(const GraphDef& original, GraphDef* rewritten, in RunPass() 55 void RunPassAndCompare(const GraphDef& original, const GraphDef& expected) { in RunPassAndCompare() 56 GraphDef rewritten; in RunPassAndCompare() 61 void RunPassAndCompare(const GraphDef& original, in RunPassAndCompare() 62 const std::vector<GraphDef>& expected_alternatives) { in RunPassAndCompare() 63 GraphDef rewritten; in RunPassAndCompare() 69 for (const GraphDef& alternative : expected_alternatives) { in RunPassAndCompare() 92 GraphDef original = GDef( in TEST() 104 GraphDef expected = GDef( in TEST() 132 GraphDef original = GDef({ in TEST() [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.h | 35 void MapNamesToNodes(const GraphDef& graph_def, 40 void MapNodesToOutputs(const GraphDef& graph_def, 108 void FilterGraphDef(const GraphDef& input_graph_def, 110 GraphDef* output_graph_def); 114 void RemoveAttributes(const GraphDef& input_graph_def, 116 GraphDef* output_graph_def); 121 Status SortByExecutionOrder(const GraphDef& input_graph_def, 122 GraphDef* output_graph_def); 125 void FindInvalidInputs(const GraphDef& graph_def, 130 Status IsGraphValid(const GraphDef& graph_def); [all …]
|
D | fuse_convolutions_test.cc | 32 Status FuseResizePadAndConv(const GraphDef& input_graph_def, 34 GraphDef* output_graph_def); 35 Status FuseResizeAndConv(const GraphDef& input_graph_def, 37 GraphDef* output_graph_def); 38 Status FusePadAndConv(const GraphDef& input_graph_def, 40 GraphDef* output_graph_def); 75 GraphDef original_graph_def; in TestFuseResizePadAndConv() 83 GraphDef fused_graph_def; in TestFuseResizePadAndConv() 125 GraphDef original_graph_def; in TestFuseResizeAndConv() 133 GraphDef fused_graph_def; in TestFuseResizeAndConv() [all …]
|
D | quantize_nodes_test.cc | 35 Status QuantizeNodes(const GraphDef& input_graph_def, 37 GraphDef* output_graph_def); 38 Status RemoveRedundantQuantizations(const GraphDef& input_graph_def, 40 GraphDef* output_graph_def); 41 Status QuantizePlaceholders(const GraphDef& input_graph_def, 43 GraphDef* output_graph_def); 44 Status ConvertFakeQuantsToRequantize(const GraphDef& input_graph_def, 46 GraphDef* output_graph_def); 47 Status MergeAdjacentRequantizes(const GraphDef& input_graph_def, 49 GraphDef* output_graph_def); [all …]
|
D | obfuscate_names_test.cc | 32 Status ObfuscateNames(const GraphDef& input_graph_def, 34 GraphDef* output_graph_def); 39 GraphDef graph_def; in TestSimpleTree() 75 GraphDef result; in TestSimpleTree() 92 GraphDef graph_def; in TestManyNodes() 99 GraphDef result; in TestManyNodes() 111 GraphDef graph_def; in TestNameClashes() 118 GraphDef result; in TestNameClashes()
|
D | set_device_test.cc | 32 Status SetDevice(const GraphDef& input_graph_def, 34 GraphDef* output_graph_def); 37 GraphDef CreateDeviceGraph() { in CreateDeviceGraph() 38 GraphDef graph_def; in CreateDeviceGraph() 83 GraphDef graph_def = CreateDeviceGraph(); in TEST() 84 GraphDef result; in TEST() 104 GraphDef graph_def = CreateDeviceGraph(); in TEST() 105 GraphDef result; in TEST()
|
D | backports_test.cc | 33 Status BackportConcatV2Transform(const GraphDef& input_graph_def, 35 GraphDef* output_graph_def); 36 Status BackportTensorArrayV3Transform(const GraphDef& input_graph_def, 38 GraphDef* output_graph_def); 43 GraphDef graph_def; in TestBackportConcatV2() 83 GraphDef result; in TestBackportConcatV2() 109 GraphDef graph_def; in TEST() 155 GraphDef result; in TEST() 181 GraphDef graph_def; in TEST() 186 GraphDef result; in TEST()
|
/external/tensorflow/tensorflow/core/framework/ |
D | graph_def_util.h | 27 class GraphDef; variable 32 string SummarizeGraphDef(const GraphDef& graph_def); 46 Status ValidateExternalGraphDefSyntax(const GraphDef& graph_def); 57 Status AddDefaultAttrsToGraphDef(GraphDef* graph_def, 63 Status AddDefaultAttrsToGraphDef(GraphDef* graph_def, 98 GraphDef* graph_def, const OpRegistryInterface& consumer_op_registry, 117 void OpsUsedByGraph(const GraphDef& graph_def, 129 Status StrippedOpListForGraph(const GraphDef& graph_def,
|
D | graph_def_util_test.cc | 44 GraphDef graph_def; in TEST() 57 GraphDef graph_def; in TEST() 60 GraphDef expected_graph_def = graph_def; in TEST() 77 GraphDef graph_def; in TEST() 81 GraphDef expected_graph_def = graph_def; in TEST() 105 GraphDef produced_graph_def; in TEST() 114 GraphDef expected_graph_def; in TEST() 138 GraphDef produced_graph_def; in TEST() 143 GraphDef expected_graph_def = produced_graph_def; in TEST() 171 GraphDef produced_graph_def; in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | test_tools.h | 84 GraphDef graph_3n_self_control_; 86 GraphDef graph_multi_input_; 88 GraphDef graph_all_or_none_; 90 GraphDef graph_circular_onedir_; 92 GraphDef graph_circular_bidir_; 94 GraphDef graph_linear_; 96 GraphDef graph_cross_; 97 GraphDef graph_small_cross_; 100 GraphDef graph_for_link_order_; 102 GraphDef graph_sun_;
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | hash_utils.h | 31 Status HashNode(const GraphDef& graph, const NodeDef& node, uint64* hash); 32 Status HashNode(const GraphDef& graph, const NodeDef& node, 45 Status HashGraph(const GraphDef& graph, uint64* hash); 51 Status CheckGraphsEqual(const GraphDef& a, const GraphDef& b); 57 Status CheckSubgraphsEqual(const GraphDef& a, const NodeDef* node_a, 58 const GraphDef& b, const NodeDef* node_b);
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | transitive_fanin_test.cc | 43 static GraphDef CreateGraph(const std::vector<NodeConfig>& nodes) { in CreateGraph() 44 GraphDef graph; in CreateGraph() 61 GraphDef graph = CreateGraph({ in TEST_F() 68 GraphDef output_graph; in TEST_F() 79 GraphDef graph = CreateGraph({ in TEST_F() 87 GraphDef output_graph; in TEST_F() 99 GraphDef graph = CreateGraph({ in TEST_F() 108 GraphDef output_graph; in TEST_F() 121 GraphDef graph = CreateGraph({ in TEST_F() 130 GraphDef output_graph; in TEST_F()
|
D | graph_view_test.cc | 43 GraphDef SimpleTestGraph() { in SimpleTestGraph() 63 GraphDef graph = in TYPED_TEST() 76 GraphDef graph = GDef({NDef("a", kNoOp, {"b:3"})}, /*funcs=*/{}); in TYPED_TEST() 87 GraphDef graph = GDef({NDef("a", kNoOp, {"a:4"})}, /*funcs=*/{}); in TYPED_TEST() 99 GraphDef graph = GDef({NDef("a", kNoOp, {"^b", "b:4"}), NDef("b", kNoOp, {})}, in TYPED_TEST() 112 GraphDef graph = SimpleTestGraph(); in TYPED_TEST() 133 GraphDef graph = SimpleTestGraph(); in TYPED_TEST() 153 GraphDef graph = SimpleTestGraph(); in TYPED_TEST() 170 GraphDef graph = SimpleTestGraph(); in TYPED_TEST() 185 GraphDef graph = SimpleTestGraph(); in TYPED_TEST() [all …]
|
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/ |
D | resolve_cluster.cc | 32 using tensorflow::GraphDef; 37 GraphDef* graph) { in AddNodeToGraph() 65 const GraphDef& graph_def, in FindCluster() 88 std::unique_ptr<GraphDef> MaybeResolveClusters( in MaybeResolveClusters() 89 const GraphDef& graph_def, in MaybeResolveClusters() 91 std::unique_ptr<GraphDef> pruned_graph(new GraphDef); in MaybeResolveClusters() 137 std::unique_ptr<GraphDef> MaybeReplaceCompositeSubgraph( in MaybeReplaceCompositeSubgraph() 138 const GraphDef& tf_graph) { in MaybeReplaceCompositeSubgraph() 144 std::unique_ptr<GraphDef> pruned_graph = in MaybeReplaceCompositeSubgraph()
|
D | resolve_cluster.h | 34 std::unique_ptr<tensorflow::GraphDef> MaybeResolveClusters( 35 const tensorflow::GraphDef& graph_def, 44 tensorflow::GraphDef* graph); 51 const tensorflow::GraphDef& graph_def, 58 std::unique_ptr<tensorflow::GraphDef> MaybeReplaceCompositeSubgraph( 59 const tensorflow::GraphDef& tf_graph);
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_session.h | 65 Status Create(const GraphDef& graph) override; 66 Status Create(const RunOptions& run_options, const GraphDef& graph) override; 67 Status Create(GraphDef&& graph) override; 68 Status Create(const RunOptions& run_options, GraphDef&& graph) override; 81 Status Extend(const GraphDef& graph) override; 82 Status Extend(const RunOptions& run_options, const GraphDef& graph) override; 83 Status Extend(GraphDef&& graph) override; 84 Status Extend(const RunOptions& run_options, GraphDef&& graph) override; 143 Status CreateImpl(CallOptions* call_options, GraphDef graph); 144 Status ExtendImpl(CallOptions* call_options, GraphDef graph);
|
/external/tensorflow/tensorflow/cc/tools/ |
D | freeze_saved_model_test.cc | 34 void GraphDefEqual(const GraphDef& actual, const GraphDef& expected) { in GraphDefEqual() 62 const GraphDef& graph_def, const string& init_node, in InitializeSavedModelBundleSession() 77 Status AddGraphDefToSavedModelBundle(const GraphDef& graph_def, in AddGraphDefToSavedModelBundle() 89 const GraphDef& graph_def, const std::unordered_set<string>& outputs, in AddGraphDefWithOutputsToSavedModelBundle() 102 const GraphDef& frozen_graph_def, in RunAndCompareFrozenAndUnfrozenGraphs() 123 GraphDef graph_def; in TestFreezeGraphWithoutDependentVariables() 145 GraphDef frozen_graph_def; in TestFreezeGraphWithoutDependentVariables() 151 GraphDef expected_graph_def; in TestFreezeGraphWithoutDependentVariables() 169 GraphDef graph_def; in TestFreezeGraphWithDependentVariables() 190 GraphDef frozen_graph_def; in TestFreezeGraphWithDependentVariables() [all …]
|
/external/tensorflow/tensorflow/core/grappler/ |
D | mutable_graph_view_test.cc | 145 GraphDef graph_def = test::function::GDef( in TEST() 156 GraphDef subgraph = test::function::GDef( in TEST() 173 GraphDef graph_def; in TEST() 177 GraphDef subgraph = test::function::GDef({}, {x_times_two}); in TEST() 186 GraphDef graph_def = test::function::GDef({}, {x_times_two}); in TEST() 189 GraphDef subgraph = test::function::GDef({}, {x_times_two}); in TEST() 199 GraphDef graph_def = test::function::GDef({}, {x_times_four}); in TEST() 203 GraphDef subgraph = test::function::GDef({}, {x_times_two}); in TEST() 214 GraphDef graph_def = test::function::GDef( in TEST() 242 GraphDef graph_def = test::function::GDef( in TEST() [all …]
|
D | graph_topology_view.h | 58 Status InitializeFromGraph(const GraphDef& graph, 61 Status InitializeFromGraph(const GraphDef& graph, 63 Status InitializeFromGraph(const GraphDef& graph, bool ignore_control_edges); 64 Status InitializeFromGraph(const GraphDef& graph); 68 const GraphDef* graph() const { return graph_; } in graph() 99 const GraphDef* graph_ = nullptr; // do not own
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | proto_serialization_test.cc | 31 GraphDef MakeGraphDef(int num_nodes) { in MakeGraphDef() 32 GraphDef graph_def; in MakeGraphDef() 47 GraphDef graph_def = MakeGraphDef(num_nodes); in BM_ProtoSerializationToString() 61 GraphDef graph_def = MakeGraphDef(num_nodes); in BM_ProtoSerializationToBuffer() 75 GraphDef graph_def = MakeGraphDef(num_nodes); in BM_DeterministicProtoHash64() 86 GraphDef graph_def_a = MakeGraphDef(num_nodes); in BM_AreSerializedProtosEqual() 87 GraphDef graph_def_b = MakeGraphDef(num_nodes); in BM_AreSerializedProtosEqual()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | graph_utils_test.cc | 41 GraphDef graph_def; in TEST() 49 GraphDef graph_def; in TEST() 57 GraphDef graph_def; in TEST() 65 GraphDef graph_def; in TEST() 73 GraphDef graph_def; in TEST() 81 GraphDef graph_def; in TEST() 89 GraphDef graph_def; in TEST() 98 GraphDef graph_def; in TEST() 107 GraphDef graph_def; in TEST() 118 GraphDef graph_def; in TEST() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | graph_util_test.py | 164 graph_def = graph_pb2.GraphDef() 192 graph_def = graph_pb2.GraphDef() 234 graph_def = graph_pb2.GraphDef() 258 expected_output = graph_pb2.GraphDef() 280 graph_def = graph_pb2.GraphDef() 288 expected_graph_def = graph_pb2.GraphDef() 299 graph_def = graph_pb2.GraphDef() 310 graph_def1 = graph_pb2.GraphDef() 317 graph_def2 = graph_pb2.GraphDef() 327 graph_def1 = graph_pb2.GraphDef() [all …]
|