MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ToOutputTensors

Function ToOutputTensors

tensorflow/cc/ops/while_loop.cc:35–41  ·  view source on GitHub ↗

Utility function for converting to internal C++ datatypes.

Source from the content-addressed store, hash-verified

33
34// Utility function for converting to internal C++ datatypes.
35std::vector<OutputTensor> ToOutputTensors(const std::vector<Output>& outputs) {
36 std::vector<OutputTensor> result(outputs.size());
37 for (int i = 0; i < outputs.size(); ++i) {
38 result[i] = ToOutputTensor(outputs[i]);
39 }
40 return result;
41}
42
43// Utility function for converting to internal C++ datatypes.
44std::vector<Node*> ToNodes(const std::vector<Output>& outputs) {

Callers 1

BuildWhileLoopFunction · 0.85

Calls 2

ToOutputTensorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected