/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
normal_test.py | 248 g = ops.Graph() 260 with self.session(graph=g): 370 g = ops.Graph() 383 with self.cached_session(graph=g):
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
partitioned_variables_test.py | 566 ops_before_read = session.graph.get_operations() 569 op for op in session.graph.get_operations() 589 ops_before_concat = session.graph.get_operations() 592 op for op in session.graph.get_operations() 607 save_graph = ops.Graph() 609 graph=save_graph) as session: 627 restore_graph = ops.Graph() 629 graph=restore_graph) as session:
|
/external/tensorflow/tensorflow/python/ops/ |
summary_ops_v2.py | 55 # A global dictionary mapping graph keys to a list of summary writer init ops. 210 # TODO(nickfelt): cache other constructed ops in graph mode 238 # Flushes the summary writer in eager mode or in graph functions, but 239 # not in legacy graph mode (you're on your own there). 294 graph=None, # pylint: disable=redefined-outer-name 296 """Initializes summary writing for graph execution mode. 302 `tf.contrib.summary.graph`. 308 graph: A `tf.Graph` or `tf.GraphDef` to output to the writer. 309 This function will not write the default graph by default. Whe 784 def graph(param, step=None, name=None): function [all...] |
/external/tensorflow/tensorflow/python/training/ |
momentum_test.py | 139 with ops.Graph().as_default(): 151 with ops.Graph().as_default(): 236 # did not have a registered GPU kernel as of April 2018. With graph 265 # did not have a registered GPU kernel as of April 2018. With graph
|
moving_averages_test.py | 480 def _ExportAndImportGraph(self, graph): 481 """Export and import graph into a new graph.""" 483 graph=graph, collection_list=graph.get_all_collection_keys()) 484 graph_copy = ops.Graph() 491 g = ops.Graph() 494 # Export and import the graph into a new graph [all...] |
/external/v8/src/compiler/ |
graph-visualizer.cc | 5 #include "src/compiler/graph-visualizer.h" 14 #include "src/compiler/graph.h" 261 JSONGraphNodeWriter(std::ostream& os, Zone* zone, const Graph* graph, 265 all_(zone, graph, false), 266 live_(zone, graph, true), 347 JSONGraphEdgeWriter(std::ostream& os, Zone* zone, const Graph* graph) 348 : os_(os), all_(zone, graph, false), first_edge_(true) {} 399 JSONGraphNodeWriter(os, &tmp_zone, &ad.graph, ad.positions, ad.origins [all...] |
machine-graph-verifier.cc | 5 #include "src/compiler/machine-graph-verifier.h" 8 #include "src/compiler/graph.h" 24 MachineRepresentationInferrer(Schedule const* schedule, Graph const* graph, 28 representation_vector_(graph->NodeCount(), MachineRepresentation::kNone, 595 << " in the machine graph is not being checked."; [all...] |
wasm-compiler.h | 27 class Graph; 39 // Expose {Node} and {Graph} opaquely as {wasm::TFNode} and {wasm::TFGraph}. 117 // Abstracts details of building TurboFan graph nodes for wasm to separate 312 Graph* graph();
|
pipeline.cc | 21 #include "src/compiler/bytecode-graph-builder.h" 34 #include "src/compiler/graph-trimmer.h" 35 #include "src/compiler/graph-visualizer.h" 54 #include "src/compiler/machine-graph-verifier.h" 126 graph_ = new (graph_zone_) Graph(graph_zone_); 163 graph_(mcgraph->graph()), 177 // For machine graph testing entry point. 179 Isolate* isolate, Graph* graph, Schedule* schedule, 189 graph_(graph), 254 Graph* graph() const { return graph_; } function in class:v8::internal::compiler::PipelineData 1910 Graph* graph = data->graph(); local [all...] |
raw-machine-assembler.h | 10 #include "src/compiler/graph.h" 27 // The RawMachineAssembler produces a low-level IR graph. All nodes are wired 28 // into a graph and also placed into a schedule immediately, hence subsequent 35 // Also note that the generated graph is only valid together with the generated 36 // schedule, using one without the other is invalid as the graph is inherently 41 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor, 53 Graph* graph() const { return graph_; } function in class:v8::internal::compiler::RawMachineAssembler 54 Zone* zone() const { return graph()->zone(); [all...] |
/external/tensorflow/tensorflow/python/eager/ |
backprop_test.py | 100 with ops.Graph().as_default(): 217 with ops.Graph().as_default(), self.cached_session(): [all...] |
function_test.py | 118 with ops.Graph().as_default(), self.test_session(): 206 # matmul to fail, due to incompatible dims. What would have been a graph 315 with ops.Graph().as_default(): 514 # Test that the numpy array is properly an argument to the graph function. 662 with ops.Graph().as_default(): 814 with ops.Graph().as_default(), self.cached_session(): [all...] |
/external/tensorflow/tensorflow/python/client/ |
session_test.py | 83 with ops.Graph().as_default() as g, ops.device('/cpu:0'): 87 with session.Session(graph=g): 92 with ops.Graph().as_default(), ops.device('/cpu:0'): 199 with sess.graph._original_op(a.op): 201 with sess.graph._original_op(b.op): [all...] |
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
layers_test.py | 701 with ops.Graph().as_default(): [all...] |
/external/tensorflow/tensorflow/contrib/lookup/ |
lookup_ops_test.py | 477 with ops.Graph().as_default(), self.cached_session(): 484 with ops.Graph().as_default(), self.cached_session(): 491 with ops.Graph().as_default(), self.cached_session(): [all...] |
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
graph_transferer.cc | 21 #include "tensorflow/core/framework/graph.pb.h" 24 #include "tensorflow/core/graph/algorithm.h" 25 #include "tensorflow/core/graph/graph_constructor.h" 26 #include "tensorflow/core/graph/node_builder.h" 68 static Node* FindMutableNodeByName(const string& name, Graph* graph) { 70 for (Node* node : graph->nodes()) { 85 * graph loading functions 88 * These functions read a graph definition and store parameters 89 * of node to transfer the graph to SOC [all...] |
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
map_test.py | 121 # TODO(b/117581999): add eager coverage, different threads run in graph 198 # TODO(b/117581999): add eager coverage, different threads run in graph 336 # compatible with the in-graph function implementation. 796 with ops.Graph().as_default() as g: [all...] |
/external/tensorflow/tensorflow/python/keras/saving/ |
hdf5_format_test.py | 770 graph = ops.Graph() 771 with graph.as_default(), self.session(graph): 804 with ops.Graph().as_default(): 824 graph = ops.Graph() 825 with graph.as_default(), self.session(graph) as session: 834 op_count = len(graph.get_operations() [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
antlr.c | 74 Graph g;
260 /* MR21a */ /* Avoid use of a malformed graph when CannotContinue */
500 RuleEntry *q; Junction *p; Graph r; int f, l; ECnode *e;
[all...] |
/external/llvm/include/llvm/CodeGen/ |
ScheduleDAG.h | 41 template<class Graph> class GraphWriter; 257 // Preds/Succs - The SUnits before/after us in the graph.
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
MachineFunction.cpp | 342 const MachineFunction *Graph) {
|
/external/tensorflow/tensorflow/compiler/jit/ |
node_matchers.cc | 528 Node* FindNodeByName(Graph* g, absl::string_view name) {
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
metrics_v1_test.py | 83 mode=["graph"]) 89 mode=["graph"]) 97 with ops.Graph().as_default(), distribution.scope():
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
half_normal_test.py | 182 g = ops.Graph() 194 with self.session(graph=g):
|
quantized_distribution_test.py | 328 g = ops.Graph() 338 with self.session(graph=g):
|