Home
last modified time | relevance | path

Searched refs:GraphBuilder (Results 1 – 25 of 148) sorted by relevance

123456

/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dop_factory.h23 class GraphBuilder; variable
26 OpBuilder* CreateArgMinMaxOpBuilder(GraphBuilder* graph_builder, int op_type);
27 OpBuilder* CreateActivationBuilder(GraphBuilder* graph_builder, int op_type);
28 OpBuilder* CreateArithmeticBuilder(GraphBuilder* graph_builder, int op_type);
29 OpBuilder* CreateMatMulWithConstWeightsOpBuilder(GraphBuilder* graph_builder,
31 OpBuilder* CreateConcatBuilder(GraphBuilder* graph_builder, int op_type);
32 OpBuilder* CreateConv2DBuilder(GraphBuilder* graph_builder, int op_type);
33 OpBuilder* CreateTransposeConv2DBuilder(GraphBuilder* graph_builder,
35 OpBuilder* CreatePool2DBuilder(GraphBuilder* graph_builder, int op_type);
36 OpBuilder* CreateReshapeBuilder(GraphBuilder* graph_builder, int op_type);
[all …]
Dop_builder.cc75 OpBuilder* GraphBuilder::CreateOpBuilderFromTfLiteOp(int op_type, in CreateOpBuilderFromTfLiteOp()
172 OpBuilder* GraphBuilder::LookupConstData(uint64_t cache_key) { in LookupConstData()
178 void GraphBuilder::AddToCache(uint64_t cache_key, OpBuilder* value) { in AddToCache()
182 OpBuilder* GraphBuilder::AddConstNodeWithData(const int shape[], char* data, in AddConstNodeWithData()
201 OpBuilder* GraphBuilder::AddConstNodeWithData(int tensor_id, in AddConstNodeWithData()
249 TfLiteStatus GraphBuilder::AddCastOp(TfLiteContext* context, int op_type, in AddCastOp()
270 TfLiteStatus GraphBuilder::AddInputTensors(const TfLiteIntArray* input_tensors, in AddInputTensors()
295 TfLiteStatus GraphBuilder::AddOutputTensors( in AddOutputTensors()
388 OpBuilder* GraphBuilder::AddNode(int tflite_node_index) { in AddNode()
396 OpBuilder* GraphBuilder::AddNodeFromTfLiteOp(int op_type, TfLiteNode* node, in AddNodeFromTfLiteOp()
[all …]
Dconv_2d_builder.h41 explicit Conv2dOpBuilder(GraphBuilder* graph_builder, int op_type) in Conv2dOpBuilder()
89 GraphBuilder* graph_builder, PerChannelQuantData* per_channel_quant);
94 GraphBuilder* graph_builder, PerChannelQuantData* per_channel_quant,
Dquantize_builder.h26 explicit QuantizeOpBuilder(GraphBuilder* graph_builder, int op_type) in QuantizeOpBuilder()
28 explicit QuantizeOpBuilder(GraphBuilder* graph_builder, int op_type, in QuantizeOpBuilder()
Dactivation_builder.h28 explicit ActivationOpBuilder(GraphBuilder* graph_builder, int op_type) in ActivationOpBuilder()
30 explicit ActivationOpBuilder(GraphBuilder* graph_builder, int op_type, in ActivationOpBuilder()
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dop_factory.h23 class GraphBuilder; variable
26 OpBuilder* CreateAddOpBuilder(GraphBuilder* graph_builder);
27 OpBuilder* CreateAveragePool2dOpBuilder(GraphBuilder* graph_builder);
28 OpBuilder* CreateConcatenationOpBuilder(GraphBuilder* graph_builder);
29 OpBuilder* CreateConvolutionOpBuilder(GraphBuilder* graph_builder);
30 OpBuilder* CreateDepthwiseConvolutionOpBuilder(GraphBuilder* graph_builder);
31 OpBuilder* CreateFullyConnectedOpBuilder(GraphBuilder* graph_builder);
32 OpBuilder* CreateHardSwishOpBuilder(GraphBuilder* graph_builder);
33 OpBuilder* CreateLogisticOpBuilder(GraphBuilder* graph_builder);
34 OpBuilder* CreateMaxPool2dOpBuilder(GraphBuilder* graph_builder);
[all …]
Dop_builder.cc36 OpBuilder* GraphBuilder::AddBuilder(int builtin_code, const TfLiteNode* node) { in AddBuilder()
91 OpBuilder* GraphBuilder::AddBuilder( in AddBuilder()
92 const std::function<OpBuilder*(GraphBuilder*)>& builder, in AddBuilder()
109 CoreML::Specification::Model* GraphBuilder::BuildModel() { in BuildModel()
135 void GraphBuilder::AddTensorWithID(int tf_tensor_id, in AddTensorWithID()
144 std::string GraphBuilder::GetTensorName(int tensor_id) { in GetTensorName()
148 const TensorID GraphBuilder::GetTensorID(int tensor_id) { in GetTensorID()
161 bool GraphBuilder::HasTensor(int tflite_tensor_index) { in HasTensor()
168 bool GraphBuilder::IsTensorUsed(int tflite_tensor_index) { in IsTensorUsed()
Dactivation_layer_builder.cc114 OpBuilder* CreateActivationLayerBuilder(GraphBuilder* graph_builder) { in CreateActivationLayerBuilder()
118 OpBuilder* CreateLogisticOpBuilder(GraphBuilder* graph_builder) { in CreateLogisticOpBuilder()
122 OpBuilder* CreateReluOpBuilder(GraphBuilder* graph_builder) { in CreateReluOpBuilder()
126 OpBuilder* CreateReluN1To1OpBuilder(GraphBuilder* graph_builder) { in CreateReluN1To1OpBuilder()
130 OpBuilder* CreateRelu6OpBuilder(GraphBuilder* graph_builder) { in CreateRelu6OpBuilder()
134 OpBuilder* CreateTanhOpBuilder(GraphBuilder* graph_builder) { in CreateTanhOpBuilder()
Dop_builder.h53 class GraphBuilder {
55 explicit GraphBuilder(int coreml_version) : coreml_version_(coreml_version) {} in GraphBuilder() function
62 OpBuilder* AddBuilder(const std::function<OpBuilder*(GraphBuilder*)>& builder,
98 explicit OpBuilder(GraphBuilder* graph_builder) in OpBuilder()
156 GraphBuilder* graph_builder_ = nullptr;
/external/guava/guava/src/com/google/common/graph/
DGraphBuilder.java67 public final class GraphBuilder<N> extends AbstractGraphBuilder<N> { class
70 private GraphBuilder(boolean directed) { in GraphBuilder() method in GraphBuilder
75 public static GraphBuilder<Object> directed() { in directed()
76 return new GraphBuilder<>(true); in directed()
80 public static GraphBuilder<Object> undirected() { in undirected()
81 return new GraphBuilder<>(false); in undirected()
91 public static <N> GraphBuilder<N> from(Graph<N> graph) { in from()
92 return new GraphBuilder<N>(graph.isDirected()) in from()
109 GraphBuilder<N1> castBuilder = cast(); in immutable()
120 public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops()
[all …]
/external/guava/android/guava/src/com/google/common/graph/
DGraphBuilder.java67 public final class GraphBuilder<N> extends AbstractGraphBuilder<N> { class
70 private GraphBuilder(boolean directed) { in GraphBuilder() method in GraphBuilder
75 public static GraphBuilder<Object> directed() { in directed()
76 return new GraphBuilder<>(true); in directed()
80 public static GraphBuilder<Object> undirected() { in undirected()
81 return new GraphBuilder<>(false); in undirected()
91 public static <N> GraphBuilder<N> from(Graph<N> graph) { in from()
92 return new GraphBuilder<N>(graph.isDirected()) in from()
109 GraphBuilder<N1> castBuilder = cast(); in immutable()
120 public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops()
[all …]
/external/llvm-project/llvm/unittests/tools/llvm-cfi-verify/
DFileAnalysis.cpp509 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF, 0x0}); in TEST_F()
512 Result = GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 1, 0x0}); in TEST_F()
515 Result = GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 3, 0x0}); in TEST_F()
518 Result = GraphBuilder::buildFlowGraph(Analysis, {0x12345678, 0x0}); in TEST_F()
534 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 4, 0x0}); in TEST_F()
550 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 2, 0x0}); in TEST_F()
569 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 3, 0x0}); in TEST_F()
587 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 3, 0x0}); in TEST_F()
611 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 6, 0x0}); in TEST_F()
636 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 2, 0x0}); in TEST_F()
[all …]
DGraphBuilder.cpp161 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 4, 0x0}); in TEST_F()
188 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 2, 0x0}); in TEST_F()
218 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 3, 0x0}); in TEST_F()
257 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 3, 0x0}); in TEST_F()
293 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF, 0x0}); in TEST_F()
297 Result = GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 1, 0x0}); in TEST_F()
301 Result = GraphBuilder::buildFlowGraph(Analysis, {0xDEADC0DE, 0x0}); in TEST_F()
316 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 2, 0x0}); in TEST_F()
332 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 2, 0x0}); in TEST_F()
356 GraphBuilder::buildFlowGraph(Analysis, {0xDEADBEEF + 4, 0x0}); in TEST_F()
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DStandardImmutableGraphAdditionalTest.java34 MutableGraph<String> mutableGraph = GraphBuilder.directed().build(); in immutableGraph()
47 Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); in copyOfImmutableGraph_optimized()
56 GraphBuilder.directed() in immutableGraphBuilder_appliesGraphBuilderConfig()
73 GraphBuilder<String> graphBuilder = in immutableGraphBuilder_copiesGraphBuilder()
74 GraphBuilder.directed() in immutableGraphBuilder_copiesGraphBuilder()
91 ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); in copyOf_incidentEdgeOrder()
100 GraphBuilder.undirected().incidentEdgeOrder(ElementOrder.unordered()).build()); in copyOf_fromUnorderedGraph_incidentEdgeOrder()
107 ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build(); in immutableGraphBuilder_addNode()
116 GraphBuilder.directed().<String>immutable().putEdge("A", "B").build(); in immutableGraphBuilder_putEdgeFromNodes()
125 GraphBuilder.directed().<String>immutable().putEdge(EndpointPair.ordered("A", "B")).build(); in immutableGraphBuilder_putEdgeFromEndpointPair()
DGraphEquivalenceTest.java56 return GraphBuilder.undirected().allowsSelfLoops(true).build(); in createGraph()
58 return GraphBuilder.directed().allowsSelfLoops(true).build(); in createGraph()
114 GraphBuilder.from(graph).allowsSelfLoops(!graph.allowsSelfLoops()).build(); in equivalent_propertiesDiffer()
124 GraphBuilder<Integer> builder = GraphBuilder.from(graph); in equivalent_edgeAddOrdersDiffer()
DElementOrderTest.java37 MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build(); in nodeOrder_none()
44 MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(insertion()).build(); in nodeOrder_insertion()
55 MutableGraph<Integer> graph = GraphBuilder.directed().build(); in nodeOrder_default()
66 GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); in nodeOrder_natural()
77 GraphBuilder.directed() in nodeOrder_sorted()
182 GraphBuilder.undirected().nodeOrder(ElementOrder.sorted(comparator)).build(); in customComparator()
201 GraphBuilder.undirected().nodeOrder(ElementOrder.<ComparableSubClass>natural()).build(); in customComparable()
DGraphsTest.java67 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedGraph()
73 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedGraph()
88 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedGraph()
94 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedGraph()
108 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedPathGraph()
113 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedPathGraph()
131 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedPathGraph()
136 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedPathGraph()
153 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedCycleGraph()
159 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedCycleGraph()
[all …]
DPackageSanityTests.java34 GraphBuilder.directed().expectedNodeCount(10);
39 GraphBuilder.directed().<String>immutable().addNode("A").build();
41 GraphBuilder.directed().<String>immutable().addNode("B").build();
/external/guava/guava-tests/test/com/google/common/graph/
DStandardImmutableGraphAdditionalTest.java34 MutableGraph<String> mutableGraph = GraphBuilder.directed().build(); in immutableGraph()
47 Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); in copyOfImmutableGraph_optimized()
56 GraphBuilder.directed() in immutableGraphBuilder_appliesGraphBuilderConfig()
73 GraphBuilder<String> graphBuilder = in immutableGraphBuilder_copiesGraphBuilder()
74 GraphBuilder.directed() in immutableGraphBuilder_copiesGraphBuilder()
91 ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); in copyOf_incidentEdgeOrder()
100 GraphBuilder.undirected().incidentEdgeOrder(ElementOrder.unordered()).build()); in copyOf_fromUnorderedGraph_incidentEdgeOrder()
107 ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build(); in immutableGraphBuilder_addNode()
116 GraphBuilder.directed().<String>immutable().putEdge("A", "B").build(); in immutableGraphBuilder_putEdgeFromNodes()
125 GraphBuilder.directed().<String>immutable().putEdge(EndpointPair.ordered("A", "B")).build(); in immutableGraphBuilder_putEdgeFromEndpointPair()
DGraphEquivalenceTest.java56 return GraphBuilder.undirected().allowsSelfLoops(true).build(); in createGraph()
58 return GraphBuilder.directed().allowsSelfLoops(true).build(); in createGraph()
114 GraphBuilder.from(graph).allowsSelfLoops(!graph.allowsSelfLoops()).build(); in equivalent_propertiesDiffer()
124 GraphBuilder<Integer> builder = GraphBuilder.from(graph); in equivalent_edgeAddOrdersDiffer()
DElementOrderTest.java37 MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build(); in nodeOrder_none()
44 MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(insertion()).build(); in nodeOrder_insertion()
55 MutableGraph<Integer> graph = GraphBuilder.directed().build(); in nodeOrder_default()
66 GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); in nodeOrder_natural()
77 GraphBuilder.directed() in nodeOrder_sorted()
182 GraphBuilder.undirected().nodeOrder(ElementOrder.sorted(comparator)).build(); in customComparator()
201 GraphBuilder.undirected().nodeOrder(ElementOrder.<ComparableSubClass>natural()).build(); in customComparable()
DGraphsTest.java67 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedGraph()
73 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedGraph()
88 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedGraph()
94 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedGraph()
108 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedPathGraph()
113 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedPathGraph()
131 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedPathGraph()
136 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedPathGraph()
153 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedCycleGraph()
159 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedCycleGraph()
[all …]
DPackageSanityTests.java34 GraphBuilder.directed().expectedNodeCount(10);
39 GraphBuilder.directed().<String>immutable().addNode("A").build();
41 GraphBuilder.directed().<String>immutable().addNode("B").build();
/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
DCMakeLists.txt5 GraphBuilder.cpp
6 GraphBuilder.h
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-cfi-verify/lib/
DBUILD.gn15 "GraphBuilder.cpp",
16 "GraphBuilder.h",

123456