- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_NewSessionOptions (0.3 sec)
-
tensorflow/c/c_api_test.cc
TestEncodeDecode(__LINE__, {"small", big, "small2"}); } TEST(CAPI, SessionOptions) { TF_SessionOptions* opt = TF_NewSessionOptions(); TF_DeleteSessionOptions(opt); } TEST(CAPI, DeprecatedSession) { TF_Status* s = TF_NewStatus(); TF_SessionOptions* opt = TF_NewSessionOptions(); TF_DeprecatedSession* session = TF_NewDeprecatedSession(opt, s); TF_DeleteSessionOptions(opt);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_test_util.cc
names.push_back(func.signature().name()); } std::sort(names.begin(), names.end()); return names; } CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) { TF_SessionOptions* opts = TF_NewSessionOptions(); TF_EnableXLACompilation(opts, use_XLA); session_ = TF_NewSession(graph, opts, s); TF_DeleteSessionOptions(opts); } CSession::CSession(TF_Session* session) : session_(session) {}
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/c_api.h
// TF_SessionOptions holds options that can be passed during session creation. typedef struct TF_SessionOptions TF_SessionOptions; // Return a new options object. TF_CAPI_EXPORT extern TF_SessionOptions* TF_NewSessionOptions(void); // Set the target in TF_SessionOptions.options. // target can be empty, a single entry, or a comma separated list of entries. // Each entry is in one of the following formats : // "local" // ip:port
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api.cc
// -------------------------------------------------------------------------- // -------------------------------------------------------------------------- TF_SessionOptions* TF_NewSessionOptions() { TF_SessionOptions* out = new TF_SessionOptions; // Disable optimizations for static graph to allow calls to Session::Extend. out->options.config.mutable_experimental()
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)