Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_DeleteGraph (0.05 sec)

  1. tensorflow/c/c_api_test.cc

      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Status* s = status.get();
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> graph(TF_NewGraph(),
                                                                 TF_DeleteGraph);
    
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph.get(), opts, s);
      TF_DeleteSessionOptions(opts);
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        return false;
      }
      return true;
    }
    
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    void FreeWhileResources(const TF_WhileParams* params) {
      TF_DeleteGraph(params->cond_graph);
      TF_DeleteGraph(params->body_graph);
      delete[] params->cond_inputs;
      delete[] params->body_inputs;
      delete[] params->body_outputs;
    }
    
    TF_WhileParams EmptyWhileParams() {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // Return a new graph object.
    TF_CAPI_EXPORT extern TF_Graph* TF_NewGraph(void);
    
    // Destroy an options object. Graph will be deleted once no more
    // 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
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top