Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFE_ContextUpdateServerDef (0.35 sec)

  1. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_ContextUpdateServerDef(ctx, 0, serialized_update.data(),
                                 serialized_update.size(), status);
      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Even after the prevoiusly failed cluster update, another update and op
      // execution should work fine as long as the provided server_def is valid.
      TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

              server_def, /*reset_context=*/true, keep_alive_secs,
              init_timeout_in_ms, retries, clear_existing_contexts);
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDef(TFE_Context* ctx,
                                                          int keep_alive_secs,
                                                          const void* proto,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  3. tensorflow/c/eager/c_api_experimental.h

    // in the context. A New set of servers identified by the ServerDef must be up
    // when the context is updated.
    //
    // This API is for experimental usage and may be subject to change.
    TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDef(TFE_Context* ctx,
                                                          int keep_alive_secs,
                                                          const void* proto,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

      // 5a. Update `ctx_0` with updated `server_def_0`.
      {
        server_def_0.set_task_index(0);
        string serialized_update = server_def_0.SerializeAsString();
        TF_Status* status = TF_NewStatus();
        TFE_ContextUpdateServerDef(ctx_0, 0, serialized_update.data(),
                                   serialized_update.size(), status);
        ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TF_DeleteStatus(status);
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top