Home
last modified time | relevance | path

Searched refs:output_port (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dlatency_all_edges.cc83 MutableGraphView::OutputPort output_port = in OptimizeAndCollectStats() local
85 auto fanout = graph.GetFanout(output_port); in OptimizeAndCollectStats()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.cc279 Status ShapeRefiner::SetShape(const Node* node, int output_port, in SetShape() argument
286 if (output_port < 0 || output_port >= node->num_outputs()) { in SetShape()
288 "output_port '", output_port, "' is out of range, ", "node '", in SetShape()
298 ShapeHandle existing_shape = c->output(output_port); in SetShape()
300 c->set_output(output_port, shape); in SetShape()
Dshape_refiner.h115 Status SetShape(const Node* node, int output_port,
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc754 const auto add_edge = [this](const OutputPort& output_port, in UpdateFanoutsInternal()
756 fanouts()[output_port].insert(input_port); in UpdateFanoutsInternal()
760 const auto remove_edge = [this](const OutputPort& output_port, in UpdateFanoutsInternal() argument
762 fanouts()[output_port].erase(input_port); in UpdateFanoutsInternal()
802 const OutputPort output_port = edge.src; in UpdateFanoutsInternal() local
809 std::max(keep_max_regular_output_port, output_port.port_id); in UpdateFanoutsInternal()
816 TensorIdToString({to_node->name(), output_port.port_id})); in UpdateFanoutsInternal()
819 remove_edge(output_port, input_port); in UpdateFanoutsInternal()
821 add_edge(OutputPort(to_node, output_port.port_id), input_port); in UpdateFanoutsInternal()
Dmutable_graph_view_test.cc49 MutableGraphView::OutputPort output_port = in CompareNodeFanins() local
51 EXPECT_TRUE(graph.GetFanin(input_port).contains(output_port)); in CompareNodeFanins()
52 EXPECT_TRUE(graph.GetFanout(output_port).contains(input_port)); in CompareNodeFanins()
1186 MutableGraphView::OutputPort output_port = in CheckFanoutRemoved() local
1188 auto fanouts = graph.GetFanout(output_port); in CheckFanoutRemoved()
/external/tensorflow/tensorflow/core/framework/
Dgraph_transfer_info.proto13 int32 output_port = 2; field
Dnode_def_util.cc426 int output_port, DataType* output_type) { in OutputTypeForNode() argument
430 if (output_types.size() > output_port) { in OutputTypeForNode()
431 const DataType dtype = output_types[output_port]; in OutputTypeForNode()
436 return errors::InvalidArgument("Output ", output_port, " not found for node ", in OutputTypeForNode()
Dnode_def_util.h266 int output_port, DataType* output_type);
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc888 Status SetUnknownShape(const NodeDef* node, int output_port) { in SetUnknownShape() argument
890 GetUnknownOutputShape(node, output_port); in SetUnknownShape()
895 ctx->set_output(output_port, shape); in SetUnknownShape()
1597 for (const int output_port : it->second) { in InferShapes() local
1598 status.Update(SetUnknownShape(&node, output_port)); in InferShapes()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.h402 const NodeDef& node_def, int output_port,
Dconvert_nodes.cc894 const NodeDef& node_def, int output_port, in ConvertToTensorOrWeights() argument
898 if (output_port != 0) { in ConvertToTensorOrWeights()
918 const auto& tensor_properties = output_params.at(output_port); in ConvertToTensorOrWeights()
Dconvert_nodes_test.cc402 const NodeDef& node_def, int output_port, in ConvertToTensorOrWeights() argument
406 node_def, output_port, graph_properties, tensor_or_weights); in ConvertToTensorOrWeights()
/external/tcpdump/
Dprint-openflow-1.0.c1451 uint16_t type, alen, output_port; in of10_actions_print() local
1510 output_port = EXTRACT_16BITS(cp); in of10_actions_print()
1512 ND_PRINT((ndo, ", port %s", tok2str(ofpp_str, "%u", output_port))); in of10_actions_print()
1515 if (output_port == OFPP_CONTROLLER) in of10_actions_print()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dhexagon_control_wrapper.cc217 ports[i] = node_input.output_port(); in SetupGraph()
Dgraph_transferer_test.cc249 EXPECT_GE(node_input.output_port(), 0); in SanityCheckNodes()
Dgraph_transferer.cc1157 << ", output port = " << node_input.output_port(); in DumpNodeTransferParams()
1210 << node_input.output_port(); in DumpVerificationStringOfNodeTransferParams()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer.cc1510 const GraphView::OutputPort output_port = in PlaceInlinedFunctionBody() local
1514 << "' to the '" << output_port.node->device() << "' device."; in PlaceInlinedFunctionBody()
1515 func_body_node->set_requested_device(output_port.node->device()); in PlaceInlinedFunctionBody()
Dlayout_optimizer.cc373 bool IsHostMemory(const NodeDef& node, int output_port) { in IsHostMemory() argument
384 if (out_mtypes[output_port] == HOST_MEMORY) { in IsHostMemory()