Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFE_NewExecutor (0.26 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

        TFE_Context* ctx = TFE_NewContext(opts, status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        TFE_DeleteContextOptions(opts);
        TFE_Executor* executor = TFE_NewExecutor(
            /*is_async=*/false, /*enable_streaming_enqueue=*/true,
            /*in_flight_nodes_limit=*/0);
        TFE_ContextSetExecutorForThread(ctx, executor);
    
        TFE_DeleteContext(ctx);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
            device_(device),
            executor_(
                TFE_NewExecutor(is_async, /*enable_streaming_enqueue=*/true,
                                /*in_flight_nodes_limit=*/in_flight_nodes_limit)),
            op_(nullptr),
            thread_(tensorflow::Env::Default()->StartThread(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_experimental.cc

                                      TF_Status* status) {
      tensorflow::unwrap(op)->SetCancellationManager(
          tensorflow::unwrap(cancellation_manager));
      status->status = absl::OkStatus();
    }
    
    TFE_Executor* TFE_NewExecutor(bool is_async, bool enable_streaming_enqueue,
                                  int in_flight_nodes_limit) {
      return new TFE_Executor(is_async, enable_streaming_enqueue,
                              in_flight_nodes_limit);
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_experimental.h

    // A recommended value has not been established.
    // A value of 0 removes the limit, which is the behavior of TensorFlow 2.11.
    // When is_async is false, the value is ignored.
    TF_CAPI_EXPORT extern TFE_Executor* TFE_NewExecutor(
        bool is_async, bool enable_streaming_enqueue, int in_flight_nodes_limit);
    
    // Deletes the eager Executor without waiting for enqueued nodes. Please call
    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)
Back to top