/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
rnn_test.py | 102 with self.session(use_gpu=use_gpu, graph=ops.Graph()) as sess: 162 with self.session(use_gpu=use_gpu, graph=ops.Graph()) as sess: 284 with self.session(use_gpu=use_gpu, graph=ops.Graph()) as sess: 346 with self.session(use_gpu=use_gpu, graph=ops.Graph()) as sess: 417 with self.session(use_gpu=True, graph=ops.Graph()) [all...] |
/external/tensorflow/tensorflow/contrib/summary/ |
summary_ops_graph_test.py | 236 summary_ops.graph(ops.Graph()) 238 summary_ops.graph('') 243 graph = graph_pb2.GraphDef(node=(node_def_pb2.NodeDef(name=name),)) 246 summary_ops.initialize(graph=graph) 252 with ops.Graph().as_default(), self.cached_session() as sess: 283 with ops.Graph().as_default(), self.cached_session() as sess: 314 with ops.Graph().as_default(), self.cached_session(): 335 with ops.Graph().as_default(), self.cached_session() [all...] |
/external/tensorflow/tensorflow/python/eager/ |
def_function_test.py | 74 a "Graph" tensor. It is possible to have Graph tensors 83 The graph tensor has name: Const:0""") 173 with ops.Graph().as_default(), self.test_session() as sess: 189 with ops.Graph().as_default(), self.test_session() as sess: 208 with ops.Graph().as_default(): 518 with ops.Graph().as_default():
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
feature_column_ops_test.py | 123 num_of_ops = len(sess.graph.get_operations()) 127 self.assertEqual(num_of_ops, len(sess.graph.get_operations())) 484 with ops.Graph().as_default(): [all...] |
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
checkpointable_utils_test.py | 219 # TODO(allenl): Make initialization more pleasant when graph building. 296 """Expected usage when graph building.""" 302 with ops.Graph().as_default(): 314 with self.session(graph=ops.get_default_graph()) as session: 333 """Graph/eager agnostic usage.""" 334 # Does create garbage when executing eagerly due to ops.Graph() creation. 339 with ops.Graph().as_default(), self.test_session( 340 graph=ops.get_default_graph()), test_util.device(use_gpu=True): 372 with ops.Graph().as_default(), self.test_session( 373 graph=ops.get_default_graph()), test_util.device(use_gpu=True) [all...] |
/external/tensorflow/tensorflow/python/layers/ |
base_test.py | 52 # updates, losses only supported in GRAPH mode 190 # op is only supported in GRAPH mode 207 # op only supported in GRAPH mode. 490 with ops.Graph().as_default(): 503 with ops.Graph().as_default(): 516 with ops.Graph().as_default(): 540 function_building_graph = ops.Graph() 546 # it is both tracked and lifted into the outer graph. 551 self.assertEqual(layer.variables[0].graph, outer_graph) 643 with ops.Graph().as_default() [all...] |
/external/tensorflow/tensorflow/contrib/distribute/python/ |
parameter_server_strategy_test.py | 155 with ops.Graph().as_default(), \ 257 with ops.Graph().as_default(), \ 305 with ops.Graph().as_default(), \ 415 with ops.Graph().as_default(), \ 493 with ops.Graph().as_default(), \ 580 with ops.Graph().as_default(), \ 621 combinations.combine(mode=['graph'], use_core_strategy=[True, False])) 630 combinations.combine(mode=['graph'], use_core_strategy=[True, False])) 638 combinations.combine(mode=['graph'], use_core_strategy=[True, False])) 646 combinations.combine(mode=['graph'], use_core_strategy=[True, False]) [all...] |
/external/llvm/lib/Analysis/ |
CFLSteensAliasAnalysis.cpp | 15 // graph of the uses of a variable, where each node is a memory location, and 25 // Because this algorithm requires a graph search on each query, we execute the 27 // in order to transform the graph into sets of variables that may alias in 117 // the data is *actually* mutable at graph building time. This will probably 196 // Builds the graph + StratifiedSets for a function. 202 auto &Graph = GraphBuilder.getCFLGraph(); 203 for (const auto &Mapping : Graph.value_mappings()) { 223 for (const auto &Mapping : Graph.value_mappings()) {
|
DomPrinter.cpp | 12 // program, with a graph of the dominance/postdominance tree of that 34 std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph) {
|
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/ |
cudnn_rnn_test.py | 78 """Model with convenient APIs for easier building and running test graph. 80 The graph built is used by all tests below to avoid repeatedly building 216 """Runs graph with given inputs and initial state.""" 352 with ops.Graph().as_default() as g: 368 with self.test_session(use_gpu=True, graph=g) as sess: 387 with ops.Graph().as_default() as g: 406 with self.test_session(use_gpu=True, graph=g) as sess: 443 # does not crash with graph execution. 526 with ops.Graph().as_default() as g: 548 # Passing graph explicitly, otherwise an old sess would be reused [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
remote_fused_graph_execute_utils.cc | 23 #include "tensorflow/core/framework/graph.pb.h" 28 #include "tensorflow/core/graph/algorithm.h" 29 #include "tensorflow/core/graph/node_builder.h" 35 const Node* FindNodeByName(const string& name, const Graph& graph) { 36 for (const Node* node : graph.nodes()) { 55 Node* FindMutableNodeByName(const string& name, Graph* graph) { 56 for (Node* node : graph->nodes()) { 196 * To determine shapes of output tensors of all nodes, dryrun the graph [all...] |
roll_op_test.cc | 433 static Graph* RollGraph(const TensorShape& shape, int isd) { 434 Graph* g = new Graph(OpRegistry::Global()); 447 test::graph::Roll(g, test::graph::Constant(g, input), 448 test::graph::Constant(g, shift), 449 test::graph::Constant(g, axis));
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
dataset_test.py | 46 graph = graph_pb2.GraphDef().FromString( 48 self.assertTrue(any([node.op != "RangeDataset" for node in graph.node])) 270 @test_util.run_v1_only("graph mode specific, no eager or V2 test coverage") 273 with ops.Graph().as_default(): 274 with self.assertRaisesRegexp(ValueError, "must be from the same graph"): 277 @test_util.run_v1_only("graph mode specific, no eager or V2 test coverage") 280 with ops.Graph().as_default(): 285 "pipeline are created in the same graph as the iterator.") 287 @test_util.run_v1_only("graph mode specific, no eager or V2 test coverage") 290 with ops.Graph().as_default() [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
rnn_cell_test.py | 324 with self.session(use_gpu=True, graph=ops.Graph()): 388 with self.session(use_gpu=True, graph=ops.Graph()) as sess: 411 with self.session(use_gpu=True, graph=ops.Graph()) as sess: 442 with self.session(use_gpu=True, graph=ops.Graph()) as sess: 476 with self.session(graph=ops.Graph()) as sess [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
generic.h | 214 typedef Graph Attrib;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
DomPrinter.cpp | 12 // program, with a graph of the dominance/postdominance tree of that 34 std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph) {
|
RegionPrinter.cpp | 41 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { 65 return "Region Graph";
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
DomPrinter.cpp | 12 // program, with a graph of the dominance/postdominance tree of that 34 std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph) {
|
/external/tensorflow/tensorflow/c/ |
c_api_internal.h | 36 #include "tensorflow/core/graph/graph.h" 37 #include "tensorflow/core/graph/graph_constructor.h" 38 #include "tensorflow/core/graph/node_builder.h" 82 tensorflow::Graph graph GUARDED_BY(mu); 87 // Maps from name of an operation to the Node* in 'graph'. 91 // The keys of this map are all the active sessions using this graph. Each 92 // value records whether the graph has been mutated since the corresponding 108 // Used to link graphs contained in TF_WhileParams to the parent graph tha 120 TF_Graph* graph; member in struct:TF_OperationDescription 132 TF_Graph* const graph; member in struct:TF_Session [all...] |
/external/tensorflow/tensorflow/compiler/jit/ |
xla_device.h | 16 // The XlaDevice executes a TensorFlow graph using the XLA linear algebra 147 Status FillContextMap(const Graph* graph,
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
const_analysis.cc | 28 #include "tensorflow/core/graph/algorithm.h" 37 // Backwards dataflow analysis that finds arguments to a graph that must be 39 Status BackwardsConstAnalysis(const Graph& g, 122 // acyclic graph. 157 *(fcond->graph), &compile_time_const_arg_indices, 160 *(fbody->graph), &compile_time_const_arg_indices, 168 // analysis is performed for the entire graph (in the 172 // XLA graph.
|
/external/tensorflow/tensorflow/contrib/checkpoint/python/ |
python_state_test.py | 68 graph = ops.Graph() 69 with graph.as_default(), session.Session(): 77 graph.finalize()
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
estimator_test.py | 82 with ops.Graph().as_default(), session.Session():
|
/external/tensorflow/tensorflow/contrib/framework/python/framework/ |
graph_util.py | 15 """Helpers to manipulate a tensor graph in python. 50 The GraphDef of the new graph. 138 def get_placeholders(graph): 139 """Get placeholders of a graph. 154 graph: A tf.Graph. 156 A list contains all placeholders of given graph. 159 TypeError: If `graph` is not a tensorflow graph. 162 if not isinstance(graph, ops.Graph) [all...] |
graph_util_test.py | 91 with ops.Graph().as_default() as g:
|