/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
unary_test.py | 44 g = ops.Graph()
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/ |
trt_convert.py | 114 the input graph to transforms. Used only when input_graph_def is None. 117 graph for. 119 If set to None, the graph will be read from the SavedModel loaded from 177 """Run Grappler's OptimizeGraph() tool to convert the graph.""" 208 graph = ops.Graph() 209 with graph.as_default(): 212 graph_def=graph.as_graph_def(add_shapes=True), graph=graph) [all...] |
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
shuffle_dataset_serialization_test.py | 128 with ops.Graph().as_default() as g: 139 with self.session(graph=g) as sess:
|
/external/tensorflow/tensorflow/python/grappler/ |
graph_placer.py | 15 """Graph Placer.""" 81 with tf_ops.Graph().as_default(): 103 print("Failed to run graph:" + str(e))
|
/external/tensorflow/tensorflow/python/keras/ |
models_test.py | 255 with ops.Graph().as_default(): 259 graph = ops.Graph() 260 with graph.as_default(): 263 has_placeholder = _has_placeholder(graph) 267 with ops.Graph().as_default(): 270 graph = ops.Graph() 271 with graph.as_default(): 274 has_placeholder = _has_placeholder(graph) [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
cholesky_op_test.py | 260 with ops.Graph().as_default(), self.session(use_gpu=False) as s: 344 with ops.Graph().as_default(), \ 358 with ops.Graph().as_default(), \ 376 with ops.Graph().as_default(), \
|
scalar_test.py | 54 with ops.Graph().as_default() as g: 56 with self.session(graph=g) as sess:
|
summary_v1_ops_test.py | 94 with ops.Graph().as_default():
|
resource_variable_ops_test.py | 162 with ops.Graph().as_default(): 166 # variable graph. 350 with ops.Graph().as_default(): 360 graph = ops.get_default_graph() 361 meta_graph_def = saver.export_meta_graph(graph=graph) 363 with ops.Graph().as_default(): 365 meta_graph_two = saver.export_meta_graph(graph=graph) 605 with ops.Graph().as_default() [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
mel_ops_test.py | 177 g = ops.Graph()
|
window_ops_test.py | 104 g = ops.Graph()
|
/external/tensorflow/tensorflow/python/ops/ |
concat_benchmark.py | 36 """Build a graph containing a sequence of concat operations. 83 """Run the graph and print its execution time. 97 graph = ops.Graph() 98 with graph.as_default(): 104 with session_lib.Session(graph=graph, config=config) as session:
|
control_flow_ops_benchmark.py | 75 """Benchmarks cond in legacy graph mode.""" 77 with ops.Graph().as_default():
|
split_benchmark.py | 35 """Build a graph containing a sequence of split operations. 59 """Run the graph and print its execution time. 71 graph = ops.Graph() 72 with graph.as_default(): 95 with session_lib.Session(graph=graph, config=config) as session:
|
transpose_benchmark.py | 35 """builds a graph containing a sequence of conv2d operations. 66 """runs the graph and print its execution time. 78 graph = ops.Graph() 79 with graph.as_default(): 81 with session_lib.Session(graph=graph) as session:
|
/external/tensorflow/tensorflow/python/training/ |
adam_test.py | 163 with self.session(graph=ops.Graph()): 210 with ops.Graph().as_default(): 344 g = ops.Graph() 351 gg = ops.Graph() 357 # If the optimizer saves any state not keyed by graph the following line
|
/external/v8/src/compiler/ |
allocation-builder.h | 8 #include "src/compiler/js-graph.h" 31 effect_ = graph()->NewNode( 34 graph()->NewNode(simplified()->Allocate(type, pretenure), 41 effect_ = graph()->NewNode(simplified()->StoreField(access), allocation_, 47 effect_ = graph()->NewNode(simplified()->StoreElement(access), allocation_, 92 return graph()->NewNode(common()->FinishRegion(), allocation_, effect_); 98 Graph* graph() { return jsgraph_->graph(); } function in class:v8::internal::compiler::final
|
control-flow-optimizer.cc | 8 #include "src/compiler/graph.h" 16 ControlFlowOptimizer::ControlFlowOptimizer(Graph* graph, 20 : graph_(graph), 24 queued_(graph, 2), 29 Enqueue(graph()->start());
|
js-typed-lowering.h | 9 #include "src/compiler/graph-reducer.h" 99 Graph* graph() const;
|
loop-analysis.h | 9 #include "src/compiler/graph.h" 25 // Represents a tree of loops in a graph. 158 // Build a loop tree for the entire graph. 159 static LoopTree* BuildLoopTree(Graph* graph, Zone* temp_zone);
|
machine-operator-reducer.h | 9 #include "src/compiler/graph-reducer.h" 103 Graph* graph() const;
|
simd-scalar-lowering.h | 9 #include "src/compiler/graph.h" 10 #include "src/compiler/machine-graph.h" 56 Graph* graph() const { return mcgraph_->graph(); } function in class:v8::internal::compiler::SimdScalarLowering
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_compiler.cc | 42 #include "tensorflow/core/graph/algorithm.h" 43 #include "tensorflow/core/graph/graph_constructor.h" 44 #include "tensorflow/core/graph/node_builder.h" 76 // Uses the _Arg and _Retval nodes in the graph to determine a core assignment 79 ComputeArgAndRetvalCores(const Graph& graph) { 94 for (const Node* n : graph.nodes()) { 115 Status ExecuteGraph(XlaContext* xla_context, std::unique_ptr<Graph> graph, 135 GraphCompiler graph_compiler(device, graph.get(), flib, step_container.get()) 564 std::unique_ptr<Graph> graph = GetGraph(fbody); local [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
direct_session.cc | 39 #include "tensorflow/core/framework/graph.pb_text.h" 40 #include "tensorflow/core/framework/graph.pb.h" 47 #include "tensorflow/core/graph/algorithm.h" 48 #include "tensorflow/core/graph/graph.h" 49 #include "tensorflow/core/graph/graph_constructor.h" 50 #include "tensorflow/core/graph/graph_partition.h" 51 #include "tensorflow/core/graph/subgraph.h" 52 #include "tensorflow/core/graph/tensor_id.h" 358 const GraphDef& graph, bool* out_already_initialized) 697 const Graph* graph = partition.graph; local 1128 const Graph* graph = executors_and_keys->graph.get(); local 1593 std::unique_ptr<Graph>* graph = &partition.second; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_inlines.h | 404 BasicBlock *BasicBlock::get(Graph::Node *node) 410 Function *Function::get(Graph::Node *node)
|