Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_ImportGraphDefResults (0.15 sec)

  1. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern int TF_ImportGraphDefOptionsNumReturnOperations(
        const TF_ImportGraphDefOptions* opts);
    
    // TF_ImportGraphDefResults holds results that are generated by
    // TF_GraphImportGraphDefWithResults().
    typedef struct TF_ImportGraphDefResults TF_ImportGraphDefResults;
    
    // Fetches the return outputs requested via
    // TF_ImportGraphDefOptionsAddReturnOutput(). The number of fetched outputs is
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    }
    
    void TF_ImportGraphDefResultsReturnOutputs(TF_ImportGraphDefResults* results,
                                               int* num_outputs,
                                               TF_Output** outputs) {
      *num_outputs = results->return_tensors.size();
      *outputs = results->return_tensors.data();
    }
    
    void TF_ImportGraphDefResultsReturnOperations(TF_ImportGraphDefResults* results,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_internal.h

      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<tensorflow::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
      std::vector<TF_Output> return_tensors;
      std::vector<TF_Operation*> return_nodes;
      std::vector<const char*> missing_unused_key_names;
      std::vector<int> missing_unused_key_indexes;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      TF_Buffer graph_def_buffer;
      graph_def_buffer.data = reinterpret_cast<const void*>(&graph_def_proto);
      graph_def_buffer.length = sizeof(tensorflow::GraphDef*);
      TF_ImportGraphDefResults* results =
          TF_GraphImportGraphDefWithResultsNoSerialization(graph, &graph_def_buffer,
                                                           opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top