Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Heller (0.19 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

                       &FloatDeallocator, nullptr),
          TF_DeleteTensor);
      return TensorHandlePtr(TFE_NewTensorHandle(tensor.get(), status));
    }
    
    // Helper to un-pack `num_replicas` TFE_TensorHandles from one parallel handle.
    template <std::size_t num_replicas>
    void ExtractPerDeviceValues(
        TFE_Context* context, TFE_TensorHandle* input,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    TF_Buffer* ProcessGetKeyValueResult(absl::StatusOr<std::string> value,
                                        TF_Status* status) {
      status->status = value.status();
      if (!value.ok()) {
        return nullptr;
      }
      // Caller is responsible to call `TF_DeleteBuffer` to release the buffer.
      TF_Buffer* result = TF_NewBuffer();
      const std::string& value_str = *value;
      void* data = malloc(value_str.length());
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/parallel_device/parallel_device.cc

    #include "tensorflow/c/eager/parallel_device/parallel_device_lib.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    
    namespace tensorflow {
    namespace parallel_device {
    namespace {
    
    class OpDeleter {
     public:
      void operator()(TFE_Op* to_delete) const { TFE_DeleteOp(to_delete); }
    };
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      // finished, if any.
      //
      // `cancellation_manager` must live until after `Join` finishes and pending
      // `is_async` operations finish. In addition to allowing the caller to cancel
      // the operation, its `StartCancel` method will be called if op execution
      // fails on any device in order to cancel the others.
      void StartExecute(TFE_Context* context, const char* operation_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h"
    
    #include <random>
    
    #include "absl/strings/string_view.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/stacktrace_handler.h"
    #include "tensorflow/core/platform/test.h"
    
    #define ASSERT_TF_OK(x) ASSERT_EQ(TF_OK, TF_GetCode(x)) << TF_Message(x)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/math_grad_test.cc

    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/gradients/grad_test_helper.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/tensor_float_32_utils.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    #include <sys/mman.h>
    #include <sys/stat.h>
    #include <unistd.h>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h"
    #include "tensorflow/c/tf_file_statistics.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    // This filesystem will support `file://` and empty (local) URI schemes.
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
      // (as in the case of ConstOp kernel creation on GPU, which involves copying a
      // CPU tensor to GPU).
      // Setting a larger thread pool does not help with the Swift caller, as we use
      // a different TFE context for each thread of execution (for running graph
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    #include <algorithm>
    #include <string>
    #include <utility>
    
    #include "tensorflow/c/experimental/filesystem/modular_filesystem_registration.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/file_system_helper.h"
    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      std::vector<std::unique_ptr<Thread>> threads;
      threads.reserve(callers);
      for (int i = 0; i < callers; i++) {
        threads.emplace_back(
            Env::Default()->StartThread({}, "caller", [block_size, &cache, i]() {
              std::vector<char> out;
              TF_EXPECT_OK(
                  ReadCache(&cache, "a", i * block_size, block_size, &out));
              std::vector<char> x(block_size, 'x');
    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)
Back to top