Home
last modified time | relevance | path

Searched refs:output_node (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/receptive_field/python/util/
Dreceptive_field_test.py290 output_node = 'output'
294 graph_def, input_node, output_node))
305 output_node = 'output'
309 graph_def, input_node, output_node))
320 output_node = 'output'
323 graph_def, input_node, output_node)
328 output_node = 'output'
332 graph_def, input_node, output_node))
343 output_node = 'output'
347 graph_def, input_node, output_node, input_resolution=[9, 9]))
[all …]
Dreceptive_field.py155 output_node, argument
205 if isinstance(output_node, framework_ops.Tensor):
206 output_node = output_node.op.name
229 rf_sizes_x[output_node] = 1
230 rf_sizes_y[output_node] = 1
231 effective_strides_x[output_node] = 1
232 effective_strides_y[output_node] = 1
233 effective_paddings_x[output_node] = 0
234 effective_paddings_y[output_node] = 0
259 if node.name == output_node:
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants.py181 output_node = output_graph_def.node.add()
187 output_node.op = "Const"
188 output_node.name = input_node.name
189 output_node.attr["dtype"].CopyFrom(dtype)
190 output_node.attr["value"].tensor.CopyFrom(
196 output_node.CopyFrom(input_node)
197 output_node.attr["T"].CopyFrom(resource_identities[input_node.name])
200 output_node.op = "Identity"
201 output_node.name = input_node.name
202 output_node.input.extend([input_node.input[0]])
[all …]
Dgraph_util_impl.py275 output_node = node_def_pb2.NodeDef()
277 output_node.op = "Const"
278 output_node.name = input_node.name
281 output_node.attr["dtype"].CopyFrom(dtype)
282 output_node.attr["value"].CopyFrom(
292 output_node.op = "Identity"
293 output_node.name = input_node.name
294 output_node.input.extend([input_node.input[0]])
295 output_node.attr["T"].CopyFrom(input_node.attr["dtype"])
297 output_node.attr["_class"].CopyFrom(input_node.attr["_class"])
[all …]
Dgraph_util_test.py210 output_node = math_ops_lib.multiply(
216 output = self.evaluate(output_node)
244 output_node = math_ops_lib.multiply(
248 output = self.evaluate(output_node)
299 output_node = sess.graph.get_tensor_by_name("output_node:0")
300 output = self.evaluate(output_node)
/external/tensorflow/tensorflow/python/tools/
Dstrip_unused_test.py49 output_node = math_ops.multiply(
51 math_ops.add(output_node, 2.0, name="later_node")
53 output = self.evaluate(output_node)
98 output_node = sess.graph.get_tensor_by_name("output_node:0")
99 output = sess.run(output_node, feed_dict={input_node: [10.0]})
112 output_node = math_ops.multiply(
114 math_ops.add(output_node, 2.0, name="later_node")
116 output = self.evaluate(output_node)
156 output_node = sess.graph.get_tensor_by_name("output_node:0")
157 output = sess.run(output_node,
Dfreeze_graph_test.py62 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
66 output = sess.run(output_node)
116 output_node = sess.graph.get_tensor_by_name("output_node:0")
117 output = sess.run(output_node)
177 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
181 output = sess.run(output_node)
217 output_node = sess.graph.get_tensor_by_name("output_node:0")
218 output = sess.run(output_node)
264 output_node = sess.graph.get_tensor_by_name("output_node:0")
265 output = sess.run(output_node, feed_dict={input_node: [example]})
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dstrip_pruning_vars_lib.py95 output_node = node_def_pb2.NodeDef()
97 output_node.op = 'Const'
98 output_node.name = node.name
101 output_node.attr['dtype'].CopyFrom(dtype)
102 output_node.attr['value'].CopyFrom(
106 output_node.CopyFrom(node)
107 pruned_graph_def.node.extend([output_node])
/external/tensorflow/tensorflow/core/kernels/data/
Dgraph_rewrite_dataset.cc44 string output_node = input_node->name(); in Optimize() local
50 TF_RETURN_IF_ERROR(ApplyOptimizations(ctx, &graph_def, &output_node)); in Optimize()
72 graph_runner.Run(&graph, lib_, input_list, {output_node}, &outputs)); in Optimize()
126 const string& output_node = tensor.substr(0, tensor.find(':')); in RemoveFakeSinks() local
127 if (identity_map.find(output_node) != identity_map.end()) { in RemoveFakeSinks()
129 identity_map.at(output_node); in RemoveFakeSinks()
137 string* output_node) { in ApplyOptimizations() argument
145 node->add_input(*output_node); in ApplyOptimizations()
147 *output_node = node->name(); in ApplyOptimizations()
164 node_list->add_value(*output_node); in ApplyOptimizations()
Dgraph_rewrite_dataset.h80 string* output_node);
/external/autotest/client/site_tests/audio_Aplay/
Daudio_Aplay.py92 def run_once(self, duration=1, output_node="INTERNAL_SPEAKER"): argument
108 if output_node == "INTERNAL_SPEAKER":
115 cras_utils.set_single_selected_output_node(output_node)
119 if cras_device_type != output_node:
Dcontrol.headphone22 job.run_test('audio_Aplay', output_node="HEADPHONE")
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc303 auto output_node = edge->dst(); in GetEngineInfo() local
304 if (output_node->IsSink() || segment_nodes.count(output_node)) { in GetEngineInfo()
309 info->connections.emplace_back(output_node->name(), output_node->id(), in GetEngineInfo()
325 output_node->name(), output_node->id(), edge->dst_input(), in GetEngineInfo()
608 Node* output_node = graph->FindNodeId(conn.outside_id); in CreateTRTNode() local
610 if (!output_node) { in CreateTRTNode()
612 conn.outside_node_name, &output_node, &port); in CreateTRTNode()
615 << " to " << output_node->name() << ":" << port; in CreateTRTNode()
618 graph->AddControlEdge(engine_node, output_node); in CreateTRTNode()
621 graph->AddEdge(engine_node, conn.port_number, output_node, port); in CreateTRTNode()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass.cc305 Node* output_node = le->dst(); in BuildXlaLaunchOps() local
307 TF_RET_CHECK(output_node->type_string() == kXlaClusterOutput) in BuildXlaLaunchOps()
309 nodes_to_remove.push_back(output_node); in BuildXlaLaunchOps()
311 for (const Edge* oe : output_node->out_edges()) { in BuildXlaLaunchOps()
316 output_types[le->src_output()] = output_node->input_type(0); in BuildXlaLaunchOps()
318 AddControlOutputs(*output_node, &control_outputs); in BuildXlaLaunchOps()
/external/tensorflow/tensorflow/core/graph/
Dbenchmark_testlib.h157 NodeDef output_node = create_node(/*name=*/absl::StrFormat("out%05d", i)); in CreateFaninFanoutNodeGraph() local
158 output_node.add_input(absl::StrCat(node.name(), ":", i)); in CreateFaninFanoutNodeGraph()
159 *graph.add_node() = std::move(output_node); in CreateFaninFanoutNodeGraph()
/external/tensorflow/tensorflow/contrib/remote_fused_graph/pylib/python/ops/
Dremote_fused_graph_ops_test.py60 for output_node in output_nodes:
62 output_node.eval()
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py527 output_node = _copy.deepcopy(self.node)
528 del output_node.input[:]
529 output_node.input.append(_tensorflow_output_name(fused_op_name, index))
530 out_graphdef.node.extend([output_node])
643 output_node = _copy.deepcopy(discrete)
644 del output_node.input[:]
645 output_node.input.append(_tensorflow_output_name(stack_node.name, idx))
646 out_graphdef.node.extend([output_node])
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc334 for (const string& output_node : output_arg.output_nodes) { in GrapplerFunctionItem() local
335 fetch.push_back(output_node); in GrapplerFunctionItem()
795 for (const string& output_node : output_arg.output_nodes) { in MakeFunctionDef() local
796 output_nodes.insert(output_node); in MakeFunctionDef()
825 const string& output_node = output_arg.output_nodes[0]; in MakeFunctionDef() local
826 const auto is_output_tensor = output_tensors.find(output_node); in MakeFunctionDef()
827 return is_output_tensor == output_tensors.end() ? output_node in MakeFunctionDef()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer.cc1000 for (const string& output_node : output_arg.output_nodes) { in InlinedFunctionOutputsNode() local
1001 const absl::string_view output_tensor = output_tensors.at(output_node); in InlinedFunctionOutputsNode()
1043 for (const string& output_node : output_arg.output_nodes) { in InlineDirectFunctionCall() local
1044 output_nodes.insert(output_node); in InlineDirectFunctionCall()
1350 for (const auto& output_node : output_expansion.output_nodes) { in MaybeDeadOutputs() local
1351 output_nodes.insert(output_node); in MaybeDeadOutputs()
1658 for (const string& output_node : output_arg.output_nodes) { in InlineIndirectFunctionCall() local
1659 output_nodes.insert(output_node); in InlineIndirectFunctionCall()
1827 for (const string& output_node : output_nodes) { in InlineIndirectFunctionCall() local
1828 inlined_output_nodes.insert(inlined_node_name(output_node)); in InlineIndirectFunctionCall()
[all …]
Ddependency_optimizer.cc196 for (NodeDef* output_node : output_nodes) { in BypassingNodeIsBeneficial()
197 num_cross_out += static_cast<int>(output_node->device() != node_dev); in BypassingNodeIsBeneficial()
204 for (NodeDef* output_node : output_nodes) { in BypassingNodeIsBeneficial()
206 static_cast<int>(input_node->device() != output_node->device()); in BypassingNodeIsBeneficial()
/external/u-boot/tools/dtoc/
Ddtb_platdata.py451 def output_node(self, node): member in DtbPlatdata
538 self.output_node(req_node)
540 self.output_node(node)
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime.cc93 NodeDef* output_node = g->add_node(); in ConstructFunctionGraph() local
103 .Finalize(output_node)); in ConstructFunctionGraph()
/external/tensorflow/tensorflow/core/framework/
Ddataset.cc365 string output_node; in Save() local
370 output_node = node->name(); in Save()
377 writer->WriteScalar(kDatasetGraphOutputNodeKey, output_node)); in Save()
/external/tensorflow/tensorflow/core/grappler/
Dutils.cc125 auto output_node = nodes_[NodeName(output_name)]; in AddOutput() local
126 CHECK(output_node) << "Output node " << output_name in AddOutput()
128 outputs_[node_name].insert(output_node); in AddOutput()
/external/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
Drf_benchmark.py273 output_node = output_node_with_colon[:pos]
278 graphdef, _INPUT_NODE, output_node, input_resolution=input_resolution)

12