| /external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
| segment.cc | 23 #include "tensorflow/core/graph/algorithm.h" 24 #include "tensorflow/core/graph/graph.h" 25 #include "tensorflow/core/graph/graph_constructor.h" 37 const tensorflow::Graph& graph) { 42 // graph. So, if there is a directed path from 'src' to 'dst', other 46 // In practice, to avoid modifying the graph and to take advantage 47 // of existing graph functions, we perform an equivalent. 60 tensorflow::ReverseDFSFrom(graph, dfs_start_nodes, {} [all...] |
| /external/tensorflow/tensorflow/python/client/ |
| session_benchmark.py | 53 with ops.Graph().as_default(): 81 with ops.Graph().as_default(): 109 with ops.Graph().as_default(): 136 with ops.Graph().as_default(): 162 with ops.Graph().as_default():
|
| /external/tensorflow/tensorflow/python/grappler/ |
| item_test.py | 38 with ops.Graph().as_default() as g: 42 mg = meta_graph.create_meta_graph_def(graph=g) 50 with ops.Graph().as_default() as g: 56 mg = meta_graph.create_meta_graph_def(graph=g) 62 with ops.Graph().as_default() as g: 69 mg = meta_graph.create_meta_graph_def(graph=g) 85 with ops.Graph().as_default() as g: 91 mg = meta_graph.create_meta_graph_def(graph=g) 111 with ops.Graph().as_default() as g: 118 mg = meta_graph.create_meta_graph_def(graph=g [all...] |
| datasets_test.py | 49 with ops.Graph().as_default() as g: 55 mg = meta_graph.create_meta_graph_def(graph=g) 74 with ops.Graph().as_default() as g: 80 mg = meta_graph.create_meta_graph_def(graph=g) 107 with ops.Graph().as_default() as g: 116 mg = meta_graph.create_meta_graph_def(graph=g) 123 with ops.Graph().as_default() as g: 129 mg = meta_graph.create_meta_graph_def(graph=g) 148 with ops.Graph().as_default() as g: 155 mg = meta_graph.create_meta_graph_def(graph=g [all...] |
| /external/tensorflow/tensorflow/contrib/learn/python/learn/ |
| monitors_test.py | 130 with ops.Graph().as_default() as g, self.test_session(g): 135 with ops.Graph().as_default() as g, self.test_session(g): 144 with ops.Graph().as_default() as g, self.test_session(g): 153 with ops.Graph().as_default() as g, self.test_session(g): 162 with ops.Graph().as_default() as g, self.test_session(g): 171 with ops.Graph().as_default() as g, self.test_session(g): 182 with ops.Graph().as_default() as g, self.test_session(g): 195 with ops.Graph().as_default() as g, self.test_session(g): 210 with ops.Graph().as_default() as g, self.test_session(g): 227 with ops.Graph().as_default() as g, self.test_session(g) [all...] |
| /external/tensorflow/tensorflow/python/ops/ |
| gradients_test.py | 54 def _OpsBetween(graph, to_ops, from_ops): 58 graph: a Graph. 71 reached_ops = [False] * (graph._last_id + 1) 92 with ops.Graph().as_default() as g: 96 # Full graph 103 with ops.Graph().as_default() as g: 114 with ops.Graph().as_default() as g: 126 with ops.Graph().as_default() as g: 142 with ops.Graph().as_default() [all...] |
| /external/tensorflow/tensorflow/compiler/jit/ |
| build_xla_launch_ops_pass.cc | 26 #include "tensorflow/core/graph/algorithm.h" 27 #include "tensorflow/core/graph/graph.h" 28 #include "tensorflow/core/graph/graph_constructor.h" 40 Graph* graph, Node** node) { 42 def.set_name(graph->NewName(nodename)); 55 *node = graph->AddNode(def, &status); 59 static Status ReplaceNodeWithXlaLaunch(Graph* graph, Node* node) 121 Graph* graph = options.graph->get(); local [all...] |
| /external/tensorflow/tensorflow/compiler/tf2xla/ |
| xla_compiler.h | 37 // It does a symbolic execution of the graph starting from specific input 86 // Describes how to derive the value of each _Arg node in the graph/function 238 // The graph def version to be compiled. 279 // Compiles a tensorflow::Graph into an xla::Computation. 280 // Similar to CompileFunction, but takes a Graph as input rather than a 283 std::unique_ptr<Graph> graph, 308 // Returns the optimized graph object in this function body. 309 std::unique_ptr<Graph> GetGraph(const FunctionBody* fbody); 313 Status BuildArguments(const Graph& graph [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| spacetobatch_benchmark_test.cc | 18 #include "tensorflow/core/graph/node_builder.h" 24 static Graph* ConstructSpaceToBatchGraph( 29 Graph* g = new Graph(OpRegistry::Global()); 41 .Input(test::graph::Constant(g, input)) 42 .Input(test::graph::Constant(g, paddings_tensor)) 49 .Input(test::graph::Constant(g, input)) 50 .Input(test::graph::Constant(g, paddings_tensor))
|
| sparse_matmul_op_test.cc | 21 #include "tensorflow/core/graph/node_builder.h" 51 Node* SparseMatMulNode(Graph* g, Node* in0, Node* in1, bool transpose_a, 66 static Graph* SparseMatMulHelper(Graph* g, int m, int n, int d, 82 SparseMatMulNode(g, test::graph::Constant(g, left), 83 test::graph::Constant(g, right), transpose_a, transpose_b, 89 static Graph* SparseMatMul(int m, int n, int d, float sparsity_a, 92 Graph* g = new Graph(OpRegistry::Global()); 97 static Graph* ReplicatedSparseMatMul(int m, int n, int d, float sparsity_1 [all...] |
| split_v_op_test.cc | 25 #include "tensorflow/core/graph/node_builder.h" 57 static Graph* MakeGraph(int split_dim, const std::vector<int64>& size_splits, 59 Graph* g = new Graph(OpRegistry::Global()); 67 .Input(test::graph::Constant(g, in)) 68 .Input(test::graph::Constant(g, size_splits_tensor)) 69 .Input(test::graph::Constant(g, split_dim_tensor))
|
| /external/tensorflow/tensorflow/go/op/ |
| scope.go | 26 // Scope encapsulates common operation properties when building a Graph. 31 // to the graph. 36 graph *tf.Graph 48 // NewScope creates a Scope initialized with an empty Graph. 50 return &Scope{graph: tf.NewGraph(), namemap: make(map[string]int), err: new(scopeErr)} 53 // NewScopeWithGraph creates a Scope initialized with the Graph thats passed in 54 func NewScopeWithGraph(g *tf.Graph) *Scope { 55 return &Scope{graph: g, namemap: make(map[string]int), err: new(scopeErr)} 58 // Finalize returns the Graph on which this scope operates on and renders [all...] |
| /external/tensorflow/tensorflow/python/training/ |
| quantize_training_test.py | 58 g = ops.Graph() 59 with session.Session(graph=g) as sess: 71 with ops.Graph().as_default() as g, session.Session(graph=g) as sess: 77 # Run the graph for one step to assign values to the quantization min/max 83 with ops.Graph().as_default() as g, session.Session(graph=g) as sess:
|
| /external/v8/src/compiler/ |
| js-graph.h | 11 #include "src/compiler/graph.h" 25 // Implements a facade on a Graph, enhancing the graph with JS-specific 30 JSGraph(Isolate* isolate, Graph* graph, CommonOperatorBuilder* common, 34 graph_(graph), 152 Graph* graph() const { return graph_; } function in class:v8::internal::compiler::JSGraph 153 Zone* zone() const { return graph()->zone(); } 189 Graph* graph_ [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|
| /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Analysis/ |
| CFGPrinter.h | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 121 const Function *Graph) { 123 return getSimpleNodeLabel(Node, Graph); 125 return getCompleteNodeLabel(Node, Graph);
|