Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for notice (0.26 sec)

  1. tensorflow/c/eager/dlpack.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
      std::vector<int64_t> strides;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      std::unique_ptr<Thread> thread_;
    };
    
    DeviceThread::~DeviceThread() {
      {
        tensorflow::mutex_lock l(execution_mutex_);
        execution_state_ = ExecutionState::kShuttingDown;
      }
      start_execute_.notify_one();
    }
    
    void DeviceThread::AsyncWait(TF_Status* status) {
      tensorflow::mutex_lock l(execution_mutex_);
      TFE_ExecutorWaitForAllPendingNodes(executor_.get(), status);
      TFE_ExecutorClearError(executor_.get());
    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/c_api_experimental.cc

      tensorflow::Notification done;
      collective_executor_handle->get()->remote_access()->CheckPeerHealth(
          task, timeout_in_ms, [&done, status](const Status& s) {
            status->status = s;
            done.Notify();
          });
      done.WaitForNotification();
    }
    
    TF_ShapeAndTypeList* TF_NewShapeAndTypeList(int num_items) {
      TF_ShapeAndTypeList* result = new TF_ShapeAndTypeList;
      result->num_items = num_items;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

                         char* buffer, TF_Status* status) -> int64_t {
        EXPECT_EQ(n, block_size);
        EXPECT_EQ(offset, 0);
        num_requests++;
        memset(buffer, 'x', n);
        notification.Notify();
        // Wait for other thread to issue read.
        Env::Default()->SleepForMicroseconds(100000);  // 0.1 secs
        TF_SetStatus(status, TF_OK, "");
        return n;
      };
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test.cc

            serialized_config.length());
      }
    
      if (use_tfrt) {
        // Set some test-only graph compiler options.
        TFE_OpSetAttrBool(op, "TFRT_TEST_enable_native_ops", false);
        TFE_OpSetAttrBool(op, "TFRT_TEST_enable_grappler", enable_grappler);
      }
    
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_OpAddInput(op, m, 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