Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for handler (0.15 sec)

  1. tensorflow/c/experimental/filesystem/BUILD

            "//tensorflow/core:framework_internal",
            "//tensorflow/core/lib/io:path",
            "//tensorflow/core/platform:env",
            "//tensorflow/core/platform:errors",
            "//tensorflow/core/platform:stacktrace_handler",
            "//tensorflow/core/platform:test",
        ],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/BUILD

            "notap",
        ],
        deps = [
            ":gcs_filesystem_impl",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/core/platform:path",
            "//tensorflow/core/platform:stacktrace_handler",
            "//tensorflow/core/platform:test",
            "@com_google_absl//absl/strings",
        ],
    )
    
    cc_library(
        name = "expiring_lru_cache",
        hdrs = ["expiring_lru_cache.h"],
        deps = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_context.h

          MemoryReleaser memory_releaser, void* memory_releaser_arg) = 0;
    
      // Create a handle to wrap and manage a Tensor
      virtual ImmediateExecutionTensorHandle* CreateLocalHandle(
          AbstractTensorInterface* t) = 0;
      // Copy the handle to another device.
      virtual ImmediateExecutionTensorHandle* CopyTensorHandleToDevice(
          ImmediateExecutionTensorHandle* handle, const char* device_name,
          Status* status) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

          // Since the input was forwarded, we released the input handle right away
          // and hence expect the input to be forwarded to the return tensor.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        } else {
          // In async mode we expect forwarding to work without releasing the input
          // handle since by the time the kernel is executed we have released the
          // handle in the client code.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

        // Read the value of tensor handle `handle_1`.
        float value = 0.0f;
        TF_Tensor* t = TFE_TensorHandleResolve(handle_1, status);
        ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        ASSERT_EQ(sizeof(float), TF_TensorByteSize(t));
        memcpy(&value, TF_TensorData(t), sizeof(float));
        TF_DeleteTensor(t);
        EXPECT_EQ(1.2f, value);
        TFE_DeleteTensorHandle(handle_1);
        TF_DeleteStatus(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/eager/unified_api_testutil.h

    #ifndef TENSORFLOW_C_EAGER_UNIFIED_API_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_UNIFIED_API_TESTUTIL_H_
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tf_status_helper.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      // Step 1: Load plugin
      Env* env = Env::Default();
      void* dso_handle;
      TF_RETURN_IF_ERROR(env->LoadDynamicLibrary(dso_path.c_str(), &dso_handle));
    
      // Step 2: Load symbol for `TF_InitPlugin`
      void* dso_symbol;
      TF_RETURN_WITH_CONTEXT_IF_ERROR(
          env->GetSymbolFromLibrary(dso_handle, "TF_InitPlugin", &dso_symbol),
          "Failed to load TF_InitPlugin symbol for DSO: ", dso_path);
    
    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)
  8. tensorflow/c/eager/parallel_device/BUILD

            "//tensorflow/c:tf_status_internal",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:immediate_execution_tensor_handle",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
        ],
    )
    
    tf_cc_test(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

      float results[2];
      for (int idx = 0; idx < 2; ++idx) {
        TF_AbstractTensor* result = TF_OutputListGet(func_outputs, idx);
        TFE_TensorHandle* handle = TF_AbstractTensorGetEagerTensor(result, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_Tensor* f_t = TFE_TensorHandleResolve(handle, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        results[idx] = *static_cast<float*>(TF_TensorData(f_t));
        TF_DeleteTensor(f_t);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      TF_Output feeds[] = {TF_Output{a, 0}, TF_Output{b, 0}};
      TF_Output fetches[] = {TF_Output{plus2, 0}, TF_Output{plusB, 0}};
    
      const char* handle = nullptr;
      TF_SessionPRunSetup(sess, feeds, TF_ARRAYSIZE(feeds), fetches,
                          TF_ARRAYSIZE(fetches), nullptr, 0, &handle, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Feed A and fetch A + 2.
      TF_Output feeds1[] = {TF_Output{a, 0}};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top