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

Function OutputsFromTFOutputs

tensorflow/c/c_api.cc:663–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661
662#if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
663std::vector<tensorflow::Output> OutputsFromTFOutputs(TF_Output* tf_outputs,
664 int n) {
665 std::vector<tensorflow::Output> outputs(n);
666 for (int i = 0; i < n; ++i) {
667 outputs[i] =
668 tensorflow::Output(&tf_outputs[i].oper->node, tf_outputs[i].index);
669 }
670 return outputs;
671}
672
673void TFOutputsFromOutputs(const std::vector<tensorflow::Output>& outputs,
674 TF_Output* tf_outputs) {

Callers 2

TF_FinishWhileHelperFunction · 0.85

Calls 1

OutputClass · 0.50

Tested by

no test coverage detected