Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationDescription (0.17 sec)

  1. tensorflow/c/c_api.h

    // TFSession's are referencing it.
    TF_CAPI_EXPORT extern void TF_DeleteGraph(TF_Graph*);
    
    // Operation being built. The underlying graph must outlive this.
    typedef struct TF_OperationDescription TF_OperationDescription;
    
    // Operation that has been added to the graph. Valid until the graph is
    // deleted -- in particular adding a new operation to the graph does not
    // invalidate old TF_Operation* pointers.
    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_test.cc

        TF_AddInputList(desc_, inputs, TF_ARRAYSIZE(inputs));
      }
    
      ~CApiColocationTest() override {
        TF_DeleteGraph(graph_);
        TF_DeleteStatus(s_);
      }
    
      void SetViaStringList(TF_OperationDescription* desc,
                            const std::vector<string>& list) {
        std::unique_ptr<const void*[]> list_ptrs;
        std::unique_ptr<size_t[]> list_lens;
        StringVectorToArrays(list, &list_ptrs, &list_lens);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
      void UseHelper(const std::vector<TF_Output>& inputs, TF_Operation** op) {
        TF_OperationDescription* desc =
            TF_NewOperation(host_graph_, func_name_, func_node_name_);
        for (auto input : inputs) {
          TF_AddInput(desc, input);
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top