/external/tensorflow/tensorflow/c/ |
c_api.cc | 52 #include "tensorflow/core/graph/graph.h" 53 #include "tensorflow/core/graph/graph_constructor.h" 54 #include "tensorflow/core/graph/node_builder.h" 55 #include "tensorflow/core/graph/validate.h" 76 using tensorflow::Graph; 684 void RecordMutation(TF_Graph* graph, const TF_Operation& op, 688 for (auto it : graph->sessions) { 721 void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, 729 mutex_lock l(graph->mu) 764 const Graph& graph = session->graph->graph; local 2668 TF_Graph* const graph = s->graph; local [all...] |
c_api_function.cc | 28 #include "tensorflow/core/graph/graph.h" 75 // Mapping from original node name from the graph to the normalized 183 // from the graph. 210 "Graph to be converted to function appears to be malformed. ", 297 // Graph to FunctionDef conversion. This code is closely modeled on the Python 299 Status GraphToFunctionDef(const Graph& fn_body, const string& fn_name, 361 // their inputs than the NodeDefs in a graph (see the comment for 363 // graph tensor name -> function tensor name conversion for every 471 fn_body->graph.IsValidOutputTensor(node, idx) [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
padding_fifo_queue_test.py | 42 with ops.Graph().as_default(): 56 with ops.Graph().as_default(): 74 with ops.Graph().as_default(): [all...] |
reduction_ops_test.py | 224 with self.session(graph=ops.Graph(), use_gpu=True) as sess: 248 with self.session(graph=ops.Graph(), use_gpu=True) as sess: 262 with self.session(graph=ops.Graph(), use_gpu=True) as sess: [all...] |
variable_scope_test.py | 49 """Decorator to execute the same graph code in eager and graph modes. 51 In graph mode, we just execute the graph_function passed as argument. In eager 56 graph_function: python function containing graph code to be wrapped 64 # use the wrapped graph function 245 # obtaining different results in the eager case compared to the graph one [all...] |
embedding_ops_test.py | 531 with ops.Graph().as_default(): 538 with ops.Graph().as_default(): [all...] |
segment_reduction_ops_test.py | [all...] |
/external/tensorflow/tensorflow/python/saved_model/ |
load_test.py | 107 exported_graph = exported.f.get_concrete_function().graph 115 # graph.as_graph_def() and its FunctionDefLibrary is another option. 117 imported_graph = imported_concrete.graph 177 with ops.Graph().as_default(): 641 with ops.Graph().as_default(): [all...] |
/external/googletest/googlemock/test/ |
gmock-matchers_test.cc | [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_lowering_nv50.cpp | 924 currBB->cfg.attach(&texiBB->cfg, Graph::Edge::FORWARD); 927 currBB->cfg.attach(&laneBB->cfg, Graph::Edge::TREE); [all...] |
nv50_ir_emit_gm107.cpp | [all...] |
nv50_ir_emit_nvc0.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
PGOInstrumentation.cpp | 209 "-pgo-view-counts. To limit graph " 213 clEnumValN(PGOVCT_Graph, "graph", "show a graph."), 457 // This class implements the CFG edges. Note the CFG can be a multi-graph. 490 // This class implements the CFG edges. Note the CFG can be a multi-graph. [all...] |
/external/tensorflow/tensorflow/contrib/losses/python/losses/ |
loss_ops_test.py | [all...] |
/external/tensorflow/tensorflow/python/ops/ragged/ |
ragged_tensor_test.py | 254 # nrows is known at graph creation time. 276 # nrows is not known at graph creation time. 589 with ops.Graph().as_default(): 591 with ops.Graph().as_default(): 594 '.* must be from the same graph as .*', 731 `tf.placeholder()` (so value is not known at graph construction time). [all...] |
/external/v8/src/compiler/ |
scheduler.cc | 13 #include "src/compiler/graph.h" 28 Scheduler::Scheduler(Zone* zone, Graph* graph, Schedule* schedule, Flags flags, 31 graph_(graph), 39 node_data_.resize(graph->NodeCount(), DefaultSchedulerData()); 42 Schedule* Scheduler::ComputeSchedule(Zone* zone, Graph* graph, Flags flags) { 44 (flags & Scheduler::kTempSchedule) ? zone : graph->zone(); 49 size_t node_count_hint = node_hint_multiplier * graph->NodeCount(); 53 Scheduler scheduler(zone, graph, schedule, flags, node_count_hint) [all...] |
/external/llvm/lib/CodeGen/ |
MachineFunction.cpp | 464 const MachineFunction *Graph) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
MachineFunction.cpp | 559 const MachineFunction *Graph) { [all...] |
/external/tensorflow/tensorflow/contrib/distribute/python/ |
cross_device_ops_test.py | 226 mode=["graph", "eager"]) 249 mode=["graph", "eager"]) 289 mode=["graph", "eager"], 321 mode=["graph", "eager"], 421 mode=["graph"]) 568 with ops.Graph().as_default(), \ 641 mode=["graph"], 657 mode=["graph"],
|
strategy_test_lib.py | 169 ops.Graph().as_default(), \ 284 # matches the counter in the in-graph replication.
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
cauchy_test.py | 205 g = ops.Graph() 217 with self.session(graph=g):
|
/external/tensorflow/tensorflow/core/common_runtime/ |
colocation_graph.cc | 212 "Cannot place the graph because a reference or resource edge " 452 ColocationGraph::ColocationGraph(const Graph* graph, 457 : graph_(graph), 463 members_.resize(graph->num_node_ids()); 466 // Adds each node of the Graph to this ColocationGraph as a singleton. 620 // graph load time. [all...] |
/external/tensorflow/tensorflow/core/debug/ |
debug_io_utils.cc | 36 #include "tensorflow/core/framework/graph.pb.h" 490 Status DebugIO::PublishGraph(const Graph& graph, const string& device_name, 493 graph.ToGraphDef(&graph_def); [all...] |
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
loop_optimizer.cc | 459 VLOG(1) << "Stack node: " << graph_view.graph()->node(stack_node_idx).name(); 480 const NodeDef& fanout_node = graph_view.graph()->node(fanout_idx); 484 // happen when the graph we have contains only the forward pass for a loop 510 // so we leave the graph alone. 712 *optimized_graph = item.graph; 860 // Names of the nodes that were removed from the graph [all...] |
scoped_allocator_optimizer.cc | 19 #include "tensorflow/core/framework/graph.pb.h" 22 #include "tensorflow/core/graph/graph.h" 114 // Describes an existing input edge in the graph. 159 // Remove the NodeDef nd from node_map and graph. It must be the case 162 void RemoveNode(NodeDef* nd, GraphDef* graph, NodeMap* node_map) { 167 protobuf::RepeatedPtrField<NodeDef>* nodes = graph->mutable_node(); 175 LOG(FATAL) << "Failed to find node " << nd->name() << " in graph"; 244 if (nd.output_slot != tensorflow::Graph::kControlSlot) { 314 ScopedAllocatorOptimizer* sa_opti, GraphDef* graph, NodeMap* node_map [all...] |