/external/tensorflow/tensorflow/python/debug/examples/ |
debug_errors.py | 80 with tf.Graph().as_default():
|
debug_keras.py | 89 with tf.Graph().as_default():
|
/external/tensorflow/tensorflow/python/distribute/ |
device_util_test.py | 44 with ops.Graph().as_default():
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/ |
policy_test.py | 49 with ops.Graph().as_default(): # Policies are not associated with a graph
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
summary_v1_audio_op_test.py | 53 with self.session(graph=ops.Graph()) as sess:
|
variables_test.py | 499 with ops.Graph().as_default(), self.cached_session() as sess: 503 with ops.Graph().as_default(), self.cached_session() as sess: 514 with ops.Graph().as_default(), self.cached_session() as sess: 518 # We should also be able to re-export the variable to a new meta graph. 525 with ops.Graph().as_default(): 570 with ops.Graph().as_default(), self.cached_session() as sess: 575 with ops.Graph().as_default(), self.cached_session() as sess: 586 with ops.Graph().as_default(), self.cached_session() as sess: 597 with ops.Graph().as_default(), self.cached_session() as sess: 604 with ops.Graph().as_default(), self.cached_session() as sess [all...] |
/external/tensorflow/tensorflow/python/summary/writer/ |
writer.py | 50 def __init__(self, event_writer, graph=None, graph_def=None): 58 If you pass a `Graph` to the constructor it is added to 61 TensorBoard will pick the graph from the file and display it graphically so 62 you can interactively explore the graph you built. You will usually pass 63 the graph from the session in which you launched it: 66 ...create a graph... 67 # Launch the graph in a session. 69 # Create a summary writer, add the 'graph' to the event file. 70 writer = tf.summary.FileWriter(<some-directory>, sess.graph) 76 graph: A `Graph` object, such as `sess.graph` [all...] |
/external/tensorflow/tensorflow/python/tools/ |
import_pb_to_tensorboard.py | 15 """Imports a protobuf model as a graph in Tensorboard.""" 44 """View an imported protobuf model (`.pb` file) as a graph in Tensorboard. 53 View your imported `.pb` model as a graph. 55 with session.Session(graph=ops.Graph()) as sess: 62 pb_visual_writer.add_graph(sess.graph)
|
/external/tensorflow/tensorflow/python/training/ |
saver_large_partitioned_variable_test.py | 42 with session.Session("", graph=ops.Graph()) as sess:
|
/external/v8/src/compiler/ |
branch-elimination.h | 10 #include "src/compiler/graph-reducer.h" 73 Graph* graph() const;
|
js-inlining-heuristic.h | 81 Graph* graph() const;
|
type-narrowing-reducer.cc | 7 #include "src/compiler/js-graph.h" 82 Graph* TypeNarrowingReducer::graph() const { return jsgraph()->graph(); } function in class:v8::internal::compiler::TypeNarrowingReducer 84 Zone* TypeNarrowingReducer::zone() const { return graph()->zone(); }
|
typed-optimization.h | 9 #include "src/compiler/graph-reducer.h" 69 Graph* graph() const;
|
/external/syzkaller/tools/syz-benchcmp/ |
benchcmp.go | 27 type Graph struct { 46 graphs := []*Graph{ 111 func skipStart(g *Graph) { 126 func restoreMissingPoints(g *Graph) { 163 func printFinalStats(graphs []*Graph) { 183 func display(graphs []*Graph) { 223 {{range $id, $graph := .}} 227 {{range $graph.Headers}} 231 {{range $graph.Points}} [ {{.Time}}, {{range .Vals}} {{if .}} {{.}} {{end}}, {{end}} 237 title: '{{$graph.Name}}' [all...] |
/external/tensorflow/tensorflow/compiler/jit/ |
shape_inference.cc | 21 #include "tensorflow/core/graph/algorithm.h" 42 Status PropagateShapes(const Graph& graph, 49 GetReversePostOrder(graph, &order); 98 Status StoreOutputShapes(const Graph& graph, const ShapeRefiner& shape_refiner, 100 for (const Node* node : graph.nodes()) { 135 Status InferShapes(Graph* graph, const std::map<int, InferredShape>& arg_shapes, 138 ShapeRefiner shape_refiner(graph->versions(), graph->op_registry()) [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_compiler.h | 48 // It does a symbolic execution of the graph starting from specific input 100 // Describes how to derive the value of each _Arg node in the graph/function 207 // True when we should add XLA input & output to the graph/function. 267 // matching RecvAtHost/SendFromHost Ops in the outer graph. 298 // The graph def version to be compiled. 339 // Compiles a tensorflow::Graph into an xla::XlaComputation. 340 // Similar to CompileFunction, but takes a Graph as input rather than a 344 std::unique_ptr<Graph> graph, absl::Span<const Argument> args, 425 // Returns the optimized graph object in this function body [all...] |
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/ |
cudnn_rnn_ops_benchmark.py | 96 with ops.Graph().as_default(), ops.device("/device:GPU:0"): 128 with ops.Graph().as_default(), ops.device("/device:GPU:0"): 152 with ops.Graph().as_default(), ops.device("/device:GPU:0"):
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/densenet/ |
densenet_graph_test.py | 15 """Tests and Benchmarks for Densenet model under graph execution.""" 57 with tf.Graph().as_default(): 93 with tf.Graph().as_default(): 119 with tf.Graph().as_default():
|
/external/tensorflow/tensorflow/contrib/quantize/python/ |
quant_ops_test.py | 92 with ops.Graph().as_default(): 107 with ops.Graph().as_default(): 119 g = ops.Graph() 120 with session.Session(graph=g) as sess:
|
/external/tensorflow/tensorflow/core/graph/ |
algorithm_test.cc | 16 #include "tensorflow/core/graph/algorithm.h" 21 #include "tensorflow/core/graph/graph.h" 22 #include "tensorflow/core/graph/graph_def_builder.h" 23 #include "tensorflow/core/graph/graph_def_builder_util.h" 24 #include "tensorflow/core/graph/subgraph.h" 89 Graph g(OpRegistry::Global()); 147 Graph g(OpRegistry::Global()); 164 Graph g(OpRegistry::Global());
|
collective_order.cc | 15 #include "tensorflow/core/graph/collective_order.h" 19 #include "tensorflow/core/graph/algorithm.h" 27 const Graph* graph, std::vector<Node*>* collective_nodes, 62 ReverseDFS(*graph, nullptr, node_leave); 144 // Insert control dependencies defined by `dependency_edges` in `graph`. If 148 Graph* graph, GraphCollectiveOrder order_type, 155 graph->AddControlEdge(src_node, dst_node); 184 Status OrderCollectives(Graph* graph, GraphCollectiveOrder order_type) [all...] |
optimizer_cse.cc | 17 // process the nodes in the graph in reverse postorder 26 // remove n from graph 39 #include "tensorflow/core/graph/optimizer_cse.h" 47 #include "tensorflow/core/graph/algorithm.h" 56 explicit OptimizerCSE(Graph* g) : g_(g) {} 65 Graph* g_; 165 // This very simple implementation works if the whole graph is one 174 // the graph. 212 // come from "*candidate", and then delete n from the graph 225 bool OptimizeCSE(Graph* g [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
gather_op_test.cc | 28 #include "tensorflow/core/graph/testlib.h" 182 static Graph* Gather(int dim) { 183 Graph* g = new Graph(OpRegistry::Global()); 204 test::graph::Gather(g, test::graph::Constant(g, params), 205 test::graph::Constant(g, indices), 206 test::graph::HostConstant(g, axis));
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
conv2d_test.py | 75 g = ops.Graph() 155 g = ops.Graph() 202 g = ops.Graph()
|
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/ |
optimize_benchmark.py | 44 with ops.Graph().as_default(): 85 with ops.Graph().as_default(): 126 with ops.Graph().as_default():
|