Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_RETURN_IF_ERROR (0.07 sec)

  1. tensorflow/c/c_api.cc

      for (int i = 0; i < nreturn_nodes; ++i) {
        opts.return_tensors.push_back(ToTensorId(nodes_to_return[i]));
      }
    
      // TODO(skyewm): change to OutputTensor
      tensorflow::ImportGraphDefResults results;
      TF_RETURN_IF_ERROR(
          ImportGraphDef(opts, gdef, dst_graph, dst_refiner, &results));
    
      for (const auto& pair : results.return_tensors) {
        return_nodes->emplace_back(pair.first, pair.second);
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top