Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for clicks (0.16 sec)

  1. tensorflow/c/c_api.cc

            return;
          }
          // We have a convoluted scheme here: Using the C++ graph construction API
          // to add potentially many nodes to the graph without running the checks
          // (such as uniqueness of the names of nodes) we run with other functions
          // that add a node to the graph (like TF_FinishOperation).
          if (!g->name_map.insert(std::make_pair(n->name(), n)).second) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // 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
    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)
  3. tensorflow/c/eager/dlpack.cc

    // TFE_NewTensorHandleFromDeviceMemory.
    void DeallocatorWrapperFunc(void* data, size_t len, void* dlmt_vptr) {
      TFE_CallDLManagedTensorDeleter(dlmt_vptr);
    }
    
    // Checks whether the stride array matches the layout of compact, row-majored
    // data.
    bool IsValidStrideCompactRowMajorData(int64_t* shape_arr, int64_t* stride_arr,
                                          int ndim) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function.cc

    }
    
    // Converts `noutputs` and `outputs` into `outputs_tensors` and does various
    // checks while doing so.
    Status ProcessOutputs(const TF_Graph* fn_body, const char* fn_name,
                          int noutputs, const TF_Output* outputs,
                          std::vector<OutputTensor>* output_tensors)
        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      output_tensors->reserve(noutputs);
      for (int i = 0; i < noutputs; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                tensorflow::ThreadOptions(), "parallel_device_execute",
                std::bind(&DeviceThread::Run, this))) {}
      ~DeviceThread();
    
      // Requests that the worker thread execute the specified operation. Blocks
      // until the previously pending operation (a StartExecute without a Join) has
      // finished, if any.
      //
      // `cancellation_manager` must live until after `Join` finishes and pending
    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)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    
    // Checks that all schemes provided by a plugin are valid.
    // TODO(b/139060984): More validation could be done here, based on supported
    // charset, maximum length, etc. Punting it for later.
    static Status ValidateScheme(const char* scheme) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/unified_api_test.cc

        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    
     public:
      bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    // Checks that inputs[0] is a scalar.
    Status TestScalarShape(AbstractContext* ctx,
                           absl::Span<AbstractTensorHandle* const> inputs,
                           absl::Span<AbstractTensorHandle*> outputs) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    // The environment variable that overrides the max size of the LRU cache of
    // blocks read from GCS. Specified in MB.
    constexpr char kMaxCacheSize[] = "GCS_READ_CACHE_MAX_SIZE_MB";
    constexpr size_t kDefaultMaxCacheSize = 0;
    // The environment variable that overrides the maximum staleness of cached file
    // contents. Once any block of a file reaches this staleness, all cached blocks
    // will be evicted on the next read.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental_test.cc

      }
    
      ~ShapeInferenceTest() override {
        TFE_DeleteContextOptions(tfe_context_options_);
        TFE_DeleteContext(tfe_context_);
        TF_DeleteStatus(status_);
      }
    
      // Checks the expected result of shape inference for the given `op`.
      void CheckOutputShapes(
          TFE_Op* op,
          const std::vector<absl::optional<std::vector<int64_t>>>& input_shapes_vec,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(out, B);
      EXPECT_EQ(calls, 4);
      // Remove the blocks from "a".
      cache.RemoveFile("a");
      // Both blocks from "b" should still be there.
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, n, &out));
      EXPECT_EQ(out, b);
      TF_EXPECT_OK(ReadCache(&cache, "b", 8, n, &out));
      EXPECT_EQ(out, B);
      EXPECT_EQ(calls, 4);
      // The blocks from "a" should not be there.
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, n, &out));
    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