Searched defs:subgraph (Results 1 - 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/graph/
H A Dsubgraph.h27 namespace subgraph { namespace in namespace:tensorflow
31 // The element type of each tensor fed to this subgraph. The order
35 // The element type of each tensor fetched from this subgraph. The
88 } // namespace subgraph
H A Dsubgraph.cc16 #include "tensorflow/core/graph/subgraph.h"
59 subgraph::NameIndex* name_index,
144 const subgraph::NameIndex& name_index,
157 static Status PruneForTargets(Graph* g, const subgraph::NameIndex& name_index,
186 namespace subgraph { namespace in namespace:tensorflow
326 } // namespace subgraph
H A Dsubgraph_test.cc16 #include "tensorflow/core/graph/subgraph.h"
110 Graph* subgraph = new Graph(OpRegistry::Global()); local
111 CopyGraph(*g_, subgraph);
119 subgraph::RewriteGraphMetadata metadata;
120 Status s = subgraph::RewriteGraphForExecution(
121 subgraph, fed, fetch, targets, device_info_, use_function_convention,
124 delete subgraph;
131 // Replace the graph with the subgraph for the rest of the display program
132 g_.reset(subgraph);
376 Graph* subgraph local
[all...]
/external/tensorflow/tensorflow/contrib/graph_editor/
H A Dedit.py23 from tensorflow.contrib.graph_editor import subgraph namespace
39 """Detach all the external control inputs of the subgraph sgv.
42 sgv: the subgraph view to be detached. This argument is converted to a
43 subgraph using the same rules as the function subgraph.make_view.
45 sgv = subgraph.make_view(sgv)
52 """Detach all the external control outputs of the subgraph sgv.
55 sgv: the subgraph view to be detached. This argument is converted to a
56 subgraph using the same rules as the function subgraph
[all...]
H A Dtransform.py15 """Class to transform an subgraph into another.
30 from tensorflow.contrib.graph_editor import subgraph namespace
53 This handler is typically used to transform a subgraph input tensor into a
110 """Transform an optional op only if it is inside the subgraph.
113 if they are inside the subgraph, otherwise they are just ignored.
353 """Transform a subgraph into another one.
355 By default, the constructor create a transform which copy a subgraph and
370 the given subgraph. This handler defaults to creating placeholders
371 instead of the ops just before the input tensors of the subgraph.
373 hidden inputs of the subgraph, tha
[all...]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DSubcomponentWriter.java58 BindingGraph subgraph) {
64 parent.name.nestedClassNamed(subcomponentSimpleName(subgraph)),
65 subgraph);
70 private static String subcomponentSimpleName(BindingGraph subgraph) { argument
71 return subgraph.componentDescriptor().componentDefinitionType().getSimpleName() + "Impl";
55 SubcomponentWriter( AbstractComponentWriter parent, ExecutableElement subcomponentFactoryMethod, BindingGraph subgraph) argument
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
H A Dimport_test.cc77 auto subgraph = ::tflite::CreateSubGraph(builder_, tensors, 0, 0, 0); local
79 {subgraph});
H A Dexport.cc316 auto subgraph = CreateSubGraph(builder, tensors, inputs, outputs, ops); local
317 std::vector<flatbuffers::Offset<SubGraph>> subgraphs = {subgraph};
/external/tensorflow/tensorflow/core/common_runtime/
H A Dgraph_execution_state.h37 namespace subgraph { namespace in namespace:tensorflow
106 // for the subgraph of `original_graph_def` defined by
196 std::unique_ptr<subgraph::RewriteGraphMetadata> rewrite_metadata_;
/external/tensorflow/tensorflow/contrib/lite/tools/
H A Dverifier_test.cc36 // Build single subgraph model.
82 auto subgraph = std::vector<Offset<SubGraph>>({CreateSubGraph( local
89 builder_.CreateVector(subgraph), builder_.CreateString("test_model"),
193 auto subgraph = std::vector<Offset<SubGraph>>( local
203 builder.CreateVector(subgraph),
/external/tensorflow/tensorflow/core/grappler/utils/
H A Dscc.cc204 GraphDef subgraph; local
207 NodeDef* node = subgraph.add_node();
229 StronglyConnectedComponents(subgraph, &components, &num_components);
/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Dtest_util.cc162 // Create a single subgraph
164 auto subgraph = CreateSubGraph(builder_, tensors, inputs, outputs, operators); local
165 subgraphs.push_back(subgraph);
/external/tensorflow/tensorflow/contrib/kfac/python/ops/
H A Dlayer_collection.py321 number of "uses" in the subgraph recorded (vs the number of times that
322 variable is actually used in the subgraph).
332 total_uses = self.subgraph.variable_uses(var)
365 def subgraph(self): member in class:LayerCollection
/external/tensorflow/tensorflow/contrib/lite/
H A Dmodel.cc766 error_reporter_->Report("Only 1 subgraph is currently supported.\n");
769 const tflite::SubGraph* subgraph = (*subgraphs)[0]; local
770 auto operators = subgraph->operators();
771 auto tensors = subgraph->tensors();
783 (**interpreter).SetInputs(FlatBufferIntArrayToVector(subgraph->inputs()));
784 (**interpreter).SetOutputs(FlatBufferIntArrayToVector(subgraph->outputs()));
/external/tensorflow/tensorflow/core/distributed_runtime/
H A Dgraph_mgr.cc197 std::unique_ptr<Graph>& subgraph = p.second; local
210 // Give the device an opportunity to rewrite its subgraph.
211 TF_RETURN_IF_ERROR(unit->device->MaybeRewriteGraph(&subgraph));
226 // Construct the root executor for the subgraph.
235 // is tied to a particular subgraph. Even if the function itself
244 // Kernels created for subgraph nodes need to be cached. On
256 optimizer.Optimize(lib, worker_env_->env, params.device, &subgraph,
262 debug_options, subgraph.get(), params.device));
267 unit->device->name(), subgraph.get()));
268 unit->graph = subgraph
[all...]
/external/tensorflow/tensorflow/compiler/jit/
H A Dencapsulate_subgraphs_pass.cc160 // subgraph, one for each value of 'group_attribute'.
163 // Build a FunctionDef for each subgraph, and add it 'library'. The values of
167 // If 'rewrite_subgraph_fn' is set, it is applied to each subgraph before
179 // A subgraph of the input, all marked with a common 'group_attribute'
180 // value. A subgraph may contain multiple `outside_compilation' clusters.
231 // Creates a graph to build the subgraph in, if it doesn't already exist,
235 // Returns the graph the subgraph is being built in.
242 // subgraph before function conversion.
275 // Returns the RecvAtHost node for an outside_compilation subgraph.
280 // source of edge in an outside_compilation subgraph
1213 Subgraph& subgraph = subgraphs_[func_id]; local
1331 Subgraph& subgraph = entry.second; local
1338 Subgraph& subgraph = entry.second; local
1350 Subgraph& subgraph = subgraph_entry.second; local
1403 Subgraph& subgraph = subgraph_entry.second; local
1613 Subgraph& subgraph = subgraph_entry.second; local
1871 Subgraph& subgraph = subgraph_entry.second; local
1914 Subgraph& subgraph = subgraph_entry.second; local
[all...]
/external/tensorflow/tensorflow/contrib/lite/schema/
H A Dschema_generated.h2597 uint32_t subgraph; member in struct:tflite::CallOptionsT
2599 : subgraph(0) {
2608 uint32_t subgraph() const { function in struct:tflite::FLATBUFFERS_FINAL_CLASS
2624 void add_subgraph(uint32_t subgraph) { argument
2625 fbb_.AddElement<uint32_t>(CallOptions::VT_SUBGRAPH, subgraph, 0);
2641 uint32_t subgraph = 0) {
2643 builder_.add_subgraph(subgraph);
4959 { auto _e = subgraph(); _o->subgraph = _e; };
4970 auto _subgraph = _o->subgraph;
[all...]
/external/annotation-tools/annotation-file-utilities/lib/
H A Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 388 milliseconds