Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Handlers (0.19 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.h

      std::string DebugString() const override;
    
      // Returns a Boolean hint indicating whether callers should prefer
      // `SummarizeValue` to resolving this handle and formatting the tensor.
      //
      // For example some tensor handles may represent distributed values, in which
      // case placement information is lost when resolving the handle.
      //
      // If false, a caller might implement pretty-printing by resolving and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #include <memory>
    #include <random>
    #include <string>
    
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/stacktrace_handler.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_ExecuteFunction)->Arg(0)->Arg(1);
    
    TEST(CAPI, Variables) {
      // Variables use resource handles, so this is really a test for resource
      // tensor handling.
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
    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)
  4. tensorflow/c/eager/c_api.h

    // "Context" under which operations/functions are executed. It encapsulates
    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental.h

    // Create a packed TensorHandle with the given list of TensorHandles.
    // If `handles` are on the same device, assign the same device to the packed
    // handle; if `handles` are on different deivces, assign a CompositeDevice to
    // it.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_CreatePackedTensorHandle(
        TFE_Context* ctx, TFE_TensorHandle** handles, int* num_handles,
        TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/eager/c_api_remote_test_util.cc

      const char task2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0";
    
      std::vector<TFE_TensorHandle*> handles_task2;
      for (auto* h_task0 : handles_task0) {
        handles_task2.push_back(
            TFE_TensorHandleCopyToDevice(h_task0, ctx, task2_name, status));
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      }
    
      auto* h1_task2 =
          TFE_TensorHandleCopyToDevice(h1_task0, ctx, task2_name, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

                                                   TFE_TensorHandle** handles,
                                                   int* num_handles,
                                                   TF_Status* status) {
      std::vector<tensorflow::TensorHandle*> tensor_handles;
      tensor_handles.reserve(*num_handles);
      for (int i = 0; i < *num_handles; ++i) {
        tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. tensorflow/c/eager/c_api.cc

      }
    
      tensorflow::Status Pack(absl::Span<ImmediateExecutionTensorHandle*> handles,
                              ImmediateExecutionTensorHandle** result) override {
        TF_Status status;
        *result = tensorflow::unwrap(device_.pack(context_,
                                                  tensorflow::wrap(handles.data()),
                                                  handles.size(), &status, info_));
        return status.status;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  10. SECURITY.md

    including tensorflow-io should be sandboxed if used to process untrusted data.
    
    For example, if an attacker were to upload a malicious video file, they could
    potentially exploit a vulnerability in the TensorFlow code that handles videos,
    which could allow them to execute arbitrary code on the system running
    TensorFlow.
    
    It is important to keep TensorFlow up to date with the latest security patches
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
Back to top