HomeSort by relevance Sort by last modified time
    Searched refs:Graph (Results 351 - 375 of 1007) sorted by null

<<11121314151617181920>>

  /external/tensorflow/tensorflow/core/common_runtime/
kernel_benchmark_testlib.cc 27 #include "tensorflow/core/graph/graph.h"
45 Benchmark::Benchmark(const string& device, Graph* g,
46 const SessionOptions* options, Graph* init,
91 TF_CHECK_OK(NewExecutor(executor_type, params, std::unique_ptr<Graph>(init),
100 NewExecutor(executor_type, params, std::unique_ptr<Graph>(g), &exec_));
lower_if_while.cc 22 #include "tensorflow/core/graph/graph.h"
23 #include "tensorflow/core/graph/node_builder.h"
49 if (options.graph == nullptr) {
53 Graph* g = options.graph->get();
56 "Lowering While op requires a graph to be available.");
69 // or While node is lowered. Since new graph nodes are always added to the
  /external/tensorflow/tensorflow/core/graph/
node_builder_test.cc 16 #include "tensorflow/core/graph/node_builder.h"
19 #include "tensorflow/core/graph/graph.h"
31 Graph graph(OpRegistry::Global());
35 .Finalize(&graph, &source_node));
41 .Finalize(&graph, nullptr));
44 .Finalize(&graph, nullptr));
49 .Finalize(&graph, nullptr)
53 .Finalize(&graph, nullptr
    [all...]
  /external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
cwise_op_vectorizer.cc 21 #include "tensorflow/core/graph/node_builder.h"
46 Status ExpandDimsForBroadcast(VectorizerInput* inputs, Graph* g) {
115 Status CwiseVectorizeHelper(const Node& node, Graph* outer_scope,
137 Status Vectorize(const Node& node, Graph* outer_scope,
152 Status Vectorize(const Node& node, Graph* outer_scope,
decode_csv_vectorizer.cc 16 #include "tensorflow/core/graph/node_builder.h"
27 Status Vectorize(const Node& node, Graph* outer_scope,
reshape_vectorizer.cc 21 #include "tensorflow/core/graph/node_builder.h"
49 Status Vectorize(const Node& node, Graph* outer_scope,
transpose_vectorizer.cc 26 #include "tensorflow/core/graph/graph.h"
27 #include "tensorflow/core/graph/node_builder.h"
43 Status Vectorize(const Node& node, Graph* outer_scope,
vectorizer.h 20 #include "tensorflow/core/graph/graph.h"
21 #include "tensorflow/core/graph/node_builder.h"
109 virtual Status Vectorize(const Node& node, Graph* outer_scope,
  /external/tensorflow/tensorflow/core/kernels/
dynamic_partition_op_test.cc 27 #include "tensorflow/core/graph/node_builder.h"
28 #include "tensorflow/core/graph/testlib.h"
162 Node* DynamicPartitionNode(Graph* g, Node* in0, Node* in1, int num_partitions) {
173 static Graph* DynamicPartition(int num_partitions, int dim) {
174 Graph* g = new Graph(OpRegistry::Global());
186 DynamicPartitionNode(g, test::graph::Constant(g, data),
187 test::graph::Constant(g, partitions), num_partitions);
variable_ops_test.cc 18 #include "tensorflow/core/graph/graph.h"
19 #include "tensorflow/core/graph/node_builder.h"
33 Graph g(OpRegistry::Global());
  /external/tensorflow/tensorflow/python/framework/
graph_io.py 32 """Writes a graph proto to a file.
34 The graph is written as a text proto unless `as_text` is `False`.
47 tf.train.write_graph(sess.graph, '/tmp/my-model', 'train.pbtxt')
51 graph_or_graph_def: A `Graph` or a `GraphDef` protocol buffer.
52 logdir: Directory where to write the graph. This can refer to remote
54 name: Filename for the graph.
55 as_text: If `True`, writes the graph as an ASCII proto.
60 if isinstance(graph_or_graph_def, ops.Graph):
  /external/tensorflow/tensorflow/python/kernel_tests/
numerics_test.py 71 with self.session(graph=ops.Graph()):
81 with self.session(graph=ops.Graph()):
91 with self.session(graph=ops.Graph()):
101 with self.session(graph=ops.Graph()):
  /external/tensorflow/tensorflow/python/saved_model/
utils_test.py 110 with ops.Graph().as_default() as expected_graph:
113 with ops.Graph().as_default(): # Some other graph.
116 graph=expected_graph)
118 self.assertIs(actual.graph, expected_graph)
123 with ops.Graph().as_default():
128 # Build a graph with node "foo/bar/x:0", akin to importing into scope foo.
129 with ops.Graph().as_default():
  /external/tensorflow/tensorflow/python/tools/
strip_unused_test.py 42 # We'll create an input graph that has a single constant containing 1.0,
44 with ops.Graph().as_default():
55 graph_io.write_graph(sess.graph, self.get_temp_dir(), input_graph_name)
57 # We save out the graph to disk, and then call the const conversion
81 # Now we make sure the variable is now a constant, and that the graph still
83 with ops.Graph().as_default():
97 input_node = sess.graph.get_tensor_by_name("wanted_input_node:0")
98 output_node = sess.graph.get_tensor_by_name("output_node:0")
106 # We'll create an input graph that multiplies two input nodes.
107 with ops.Graph().as_default()
    [all...]
  /external/tensorflow/tensorflow/python/training/
saver_large_variable_test.py 41 with session.Session("", graph=ops.Graph()) as sess:
  /external/v8/src/compiler/
compiler-source-position-table.cc 6 #include "src/compiler/graph.h"
27 SourcePositionTable::SourcePositionTable(Graph* graph)
28 : graph_(graph),
31 table_(graph->zone()) {}
js-inlining.h 8 #include "src/compiler/graph-reducer.h"
9 #include "src/compiler/js-graph.h"
21 // The JSInliner provides the core graph inlining machinery. Note that this
22 // class only deals with the mechanics of how to inline one graph into another,
48 Graph* graph() const;
node-origin-table.cc 6 #include "src/compiler/graph.h"
41 NodeOriginTable::NodeOriginTable(Graph* graph)
42 : graph_(graph),
46 table_(graph->zone()) {}
simplified-operator-reducer.h 9 #include "src/compiler/graph-reducer.h"
53 Graph* graph() const;
  /external/skia/tests/
IncrTopoSortTest.cpp 14 // A node in the graph. This corresponds to an opList in the MDB world.
61 friend class Graph;
85 class Graph {
87 Graph(int numNodesToReserve, skiatest::Reporter* reporter)
96 fNodes.push_back(tmp); // The graph gets the creation ref
320 Graph g(10, reporter);
360 Graph g(10, reporter);
408 Graph g(4, reporter);
410 /* Create the graph (the '.' is the pointy side of the arrow):
446 Graph g(7, reporter)
    [all...]
  /external/skqp/tests/
IncrTopoSortTest.cpp 14 // A node in the graph. This corresponds to an opList in the MDB world.
61 friend class Graph;
85 class Graph {
87 Graph(int numNodesToReserve, skiatest::Reporter* reporter)
96 fNodes.push_back(tmp); // The graph gets the creation ref
320 Graph g(10, reporter);
360 Graph g(10, reporter);
408 Graph g(4, reporter);
410 /* Create the graph (the '.' is the pointy side of the arrow):
446 Graph g(7, reporter)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/XRay/
Graph.h 1 //===-- Graph.h - XRay Graph Class ------------------------------*- C++ -*-===//
10 // A Graph Datatype for XRay.
30 /// A Graph object represents a Directed Graph and is used in XRay to compute
33 /// The graph takes in four template parameters, these are:
46 /// Graph is CopyConstructible, CopyAssignable, MoveConstructible and
49 /// Usage Example Graph with weighted edges and vertices:
50 /// Graph<int, int, int> G;
57 /// // Do something with the vertices in the graph;
    [all...]
  /external/tensorflow/tensorflow/compiler/jit/
encapsulate_util.cc 25 #include "tensorflow/core/graph/node_builder.h"
68 Graph* g, const string& outside_compilation_attr_name) {
108 Graph* g, const string& outside_compilation_attr_name) {
194 Graph* g, const string& outside_compilation_attr_name) {
270 Graph* g, const string& outside_compilation_attr_name) {
313 Status PerformStaticShapeInferenceBeforeEncapsulation(Graph* g) {
337 Graph* g, const string& outside_compilation_attr_name) {
363 Graph* g, const string& outside_compilation_attr_name) {
extract_outside_compilation_pass.cc 30 #include "tensorflow/core/graph/algorithm.h"
39 // Add a key placeholder node to the graph. The key placeholder node will be
42 const string& xla_cluster_name, Graph* g) {
64 std::vector<Node*> GatherNodesWithType(const Graph& g, const string& type) {
95 Graph* g, const string& oc_cluster_name,
120 Graph* g, const string& oc_cluster_name,
142 if (edge.dst_input == Graph::kControlSlot) {
152 if (edge.dst_input == Graph::kControlSlot) {
196 Graph* g, const string& oc_cluster_name,
236 Graph* g, const string& oc_cluster_name
    [all...]
  /external/tensorflow/tensorflow/contrib/android/java/org/tensorflow/contrib/android/
TensorFlowInferenceInterface.java 34 import org.tensorflow.Graph;
43 * Wrapper over the TensorFlow API ({@link Graph}, {@link Session}) providing a smaller API surface
63 this.g = new Graph();
97 + " of the graph, expected to read "
130 this.g = new Graph();
165 * Construct a TensorFlowInferenceInterface with provided Graph
167 * @param g The Graph to use to construct this interface.
169 public TensorFlowInferenceInterface(Graph g) {
249 /** Returns a reference to the Graph describing the computation run during inference. */
250 public Graph graph() method in class:TensorFlowInferenceInterface
    [all...]

Completed in 833 milliseconds

<<11121314151617181920>>