Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OutputTensor (0.27 sec)

  1. tensorflow/c/c_api_function.cc

      std::vector<tensorflow::OutputTensor> input_tensors;
      std::unordered_map<const Node*, std::vector<int>> input_nodes;
      status->status = tensorflow::ProcessInputs(fn_body, fn_name, ninputs, inputs,
                                                 &input_tensors, &input_nodes);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      // Process outputs.
      std::vector<tensorflow::OutputTensor> output_tensors;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  2. 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) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top