/external/v8/src/compiler/ |
graph-reducer.cc | 8 #include "src/compiler/graph.h" 9 #include "src/compiler/graph-reducer.h" 28 GraphReducer::GraphReducer(Zone* zone, Graph* graph, Node* dead) 29 : graph_(graph), 31 state_(graph, 4), 78 void GraphReducer::ReduceGraph() { ReduceNode(graph()->end()); } 147 NodeId const max_id = static_cast<NodeId>(graph()->NodeCount() - 1); 191 if (node == graph()->start()) graph()->SetStart(replacement) [all...] |
js-create-lowering.h | 9 #include "src/compiler/graph-reducer.h" 116 Graph* graph() const;
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
control_flow_ops_test.py | [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
nn_ops_test.cc | 36 #include "tensorflow/core/framework/graph.pb.h" 43 #include "tensorflow/core/graph/graph_constructor.h" 44 #include "tensorflow/core/graph/graph_def_builder.h" 121 // We set up a graph for computing convolution. 122 GraphDef graph; local 150 graph.add_node()); 152 data_type, graph.add_node()); 154 data_type, graph.add_node()); 157 graph.add_node()); 161 graph.add_node()) 516 GraphDef graph; local [all...] |
save_op_test.cc | 29 #include "tensorflow/core/graph/graph_def_builder.h" 668 // Builds the graph. 682 Graph* g = new Graph(OpRegistry::Global()); 685 VLOG(1) << "# nodes in Graph: " << g->num_nodes();
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
iterator_test.py | 251 with ops.Graph().as_default(): 270 with ops.Graph().as_default(): 272 # functions in this graph, to ensure that we are not 274 # new graph. 806 # Saving iterator for RangeDataset graph. 807 with ops.Graph().as_default() as g: 809 with self.session(graph=g) as sess: 818 with ops.Graph().as_default() as g [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineBasicBlock.h | 738 // MachineFunction as a graph of MachineBasicBlocks. [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
MachineBasicBlock.h | [all...] |
MachineFunction.h | 548 /// this can make the graph smaller. [all...] |
/external/tensorflow/tensorflow/contrib/autograph/examples/benchmarks/ |
cartpole_benchmark.py | 421 with tf.Graph().as_default(): 467 with tf.Graph().as_default():
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
metrics_test.py | 53 with context.graph_mode(), ops.Graph().as_default(): 65 with context.graph_mode(), ops.Graph().as_default(): 275 # Reuse the loop operators in graph mode 281 # Verify two metrics with the same name in the same graph raises a
|
/external/tensorflow/tensorflow/contrib/graph_editor/tests/ |
select_test.py | 32 self.graph = ops_lib.Graph() 33 with self.graph.as_default(): 55 self.assertEqual(len(ge.select._get_input_ts(self.graph)), 6) 56 self.assertEqual(len(ge.select._get_output_ts(self.graph)), 8) 61 self.assertEqual(len(ge.filter_ops(self.graph, True)), 8) 63 len(ge.filter_ops(self.graph, lambda op: op.node_def.op == "Const")), 3) 65 len(ge.filter_ops(self.graph, lambda op: op.node_def.op == "Add")), 5) 67 len(ge.filter_ops_from_regex(self.graph, r"^.*\b[abc]$")), 3) 69 self.assertEqual(len(ge.filter_ts(self.graph, True)), 8 [all...] |
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/ |
resnet_v1_test.py | 233 with ops.Graph().as_default(): 374 with ops.Graph().as_default():
|
resnet_v2_test.py | 237 with ops.Graph().as_default(): 378 with ops.Graph().as_default():
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
estimators.py | 89 # variables/ops. Avoid polluting the default graph by making a new one. We 91 with ops.Graph().as_default(): 257 with ops.Graph().as_default(): 259 # in a separate graph, then splice in the series length to the shapes 260 # and re-create them in the outer graph. 498 model_dir: Directory to save model parameters, graph and etc. This can 651 desired. Called only during graph construction. See the "known [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
step_stats_collector.cc | 23 #include "tensorflow/core/graph/costmodel.h" 24 #include "tensorflow/core/graph/graph.h" 263 const std::unordered_map<string, const Graph*>& device_map) { 316 const Graph* graph = itr.second; local 317 CostModel* cm = cost_model_manager->FindOrCreateCostModel(graph); 321 for (Node* n : graph->nodes()) {
|
/external/tensorflow/tensorflow/core/framework/ |
function.h | 41 class Graph; 245 // Returns a debug string for a top level graph (the main program and 381 // OpRegistryInterface method. Useful for constructing a Graph. 438 // reachable from the nodes of `graph` or `func`. 439 FunctionLibraryDefinition ReachableDefinitions(const GraphDef& graph) const; 578 Device* /*cpu_device*/, std::unique_ptr<Graph>*)> 686 // Returns the graph version number. [all...] |
/external/tensorflow/tensorflow/core/grappler/ |
grappler_item_builder.cc | 37 #include "tensorflow/core/graph/graph_constructor.h" 78 // Optimize the graph def (including function inlining and other optimizations). 79 // This is a temporary change that optimizes the graph in context of a single 93 // Make a local copy of graph def, because we need to change some things. 135 // Create the GraphOptimizer to optimize the graph def. 139 std::unique_ptr<Graph> graphptr(new Graph(function_library)); 144 // Optimize the graph. 155 // Applies the same graph pruning logic to the graph as Session.Run in TF [all...] |
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
vectorization_utils_test.cc | 33 #include "tensorflow/core/graph/graph.h" 34 #include "tensorflow/core/graph/node_builder.h" 51 Graph graph(OpRegistry::Global()); 60 .Finalize(&graph, &arg)); 81 .Finalize(&graph, &map_defun_node)); 88 .Finalize(&graph, &ret)); 91 return GraphToFunctionDef(graph, "outer_function", result); [all...] |
/external/tensorflow/tensorflow/core/profiler/g3doc/ |
command_line.md | 7 * [Profile Graph Time](#profile-graph-time) 26 data structure of the model. For example, graph.pbtxt written by tf.Supervisor 52 tf.profiler.write_op_log(graph, log_dir, op_log=None) 92 --graph_path=graph.pbtxt 101 --graph_path=graph.pbtxt \ 107 --graph_path=graph.pbtxt \ 115 --graph_path=graph.pbtxt \ 126 --graph_path=graph.pbtxt \ 190 #### Profile Graph Tim [all...] |
options.md | 9 * graph view. Graph. Each profiler node corresponds to a 10 TensorFlow graph node. 12 TensorFlow graph node. 14 graph nodes created by the profiler node (python code). 16 graph nodes belonging to an operation type. 42 In graph view, in means the number of hops in the <b>graph</b>. 103 `-account_type_regexes`: Account and display the nodes whose types match one of the type regexes specified. tfprof allow user to define extra operation types for graph nodes through tensorflow.tfprof.OpLogProto proto. regexes are comma-sperated.
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
adamax_test.py | 179 with self.session(graph=ops.Graph()): 227 with self.session(graph=ops.Graph()):
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
losses_test.py | [all...] |
matrix_solve_ls_op_test.py | 324 with ops.Graph().as_default(), \ 339 with ops.Graph().as_default(), \
|
sparse_tensor_dense_matmul_op_test.py | 349 with session.Session(config=config, graph=ops.Graph()) as sess: 365 with session.Session("", config=config, graph=ops.Graph()) as sess:
|