Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Ehat (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Ensure that all blocks are in the cache (i.e. reads are cache hits).
      EXPECT_EQ(cache.CacheSize(), 24);
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out));
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out));
      TF_EXPECT_OK(ReadCache(&cache, "a", 8, 1, &out));
      EXPECT_EQ(calls, 3);
      // Advance the fake timestamp so that "a" becomes stale via its first block.
    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)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

    using tensorflow::TF_StatusPtr;
    
    namespace tensorflow {
    namespace {
    
    // The tests are parameterized on:
    // - a string representing the tracing implementation: "mlir" or "graphdef".
    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

            "Filesystem for ", dir, " does not support GetChildren()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(dir);
      // Note that `children` is allocated by the plugin and freed by core
      // TensorFlow, so we need to use `plugin_memory_free_` here.
      char** children = nullptr;
      const int num_children =
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        auto next = std::next(it);
        RemoveBlock(it);
        it = next;
      }
    }
    
    void RamFileBlockCache::RemoveBlock(BlockMap::iterator entry) {
      // This signals that the block is removed, and should not be inadvertently
      // reinserted into the cache in UpdateLRU.
      entry->second->timestamp = 0;
      lru_list_.erase(entry->second->lru_iterator);
      lra_list_.erase(entry->second->lra_iterator);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental_test.cc

            static_cast<const float*>(TF_TensorData(resolved));
        EXPECT_EQ(0, memcmp(m_float, resolved_data, 4 * sizeof(float)));
        TF_DeleteTensor(resolved);
        TFE_DeleteTensorHandle(copy_aliased);  // Note that this will delete copy.
        TFE_DeleteTensorHandle(on_host);
      }
      TF_DeleteDeviceList(devices);
      TF_DeleteTensor(m_data);
      TFE_DeleteTensorHandle(m);
      TFE_DeleteContext(ctx);
      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. CONTRIBUTING.md

    These are issues that we believe are particularly well suited for outside
    contributions, often because we probably won't get to them right now. If you
    decide to start on an issue, leave a comment so that other people know that
    you're working on it. If you want to help out, but not alone, use the issue
    comment thread to coordinate.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.h

    //
    // Conventions:
    //   * Struct prefix indicates whether struct fields should be filled by the
    //     plugin or core implementation:
    //     * Struct that should be filled by the plugin: `TP_OptimizerConfigs`,
    //       `TP_Optimizer`, `TP_OptimizerRegistrationParams`
    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    //       `TF_GraphProperties`, `TF_FunctionLibraryDefinition`
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern bool TFE_ExecutorIsAsync(TFE_Executor*);
    
    // Causes the calling thread to block till all ops dispatched in this executor
    // have been executed. Note that "execution" here refers to kernel execution /
    // scheduling of copies, etc. Similar to sync execution, it doesn't guarantee
    // that lower level device queues (like GPU streams) have been flushed.
    //
    // This call may not block for execution of ops enqueued concurrently with this
    // call.
    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)
  9. tensorflow/c/eager/gradients.cc

      std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
      for (int i = 0; i < target_tensor_ids.size(); ++i) {
        int64_t target_id = target_tensor_ids[i];
        if (sources_set.find(target_id) != sources_set.end()) {
          auto tensor = targets[i];
          sources_that_are_targets.insert(
              std::make_pair(target_id, TapeTensor(tensor)));
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/c/BUILD

                "//tensorflow/compiler/tf2xla:xla_compiler",
            ],
            "//conditions:default": [],
        }) + if_tensorrt([
            "//tensorflow/compiler/tf2tensorrt:trt_convert_api",
        ]),
    )
    
    # Check that c_api_no_xla does not depend on xla.
    check_deps(
        name = "c_api_no_xla_check_deps",
        disallowed_deps = ["//tensorflow/compiler/jit:xla_kernel_creator"],
        deps = [":c_api_no_xla"],
    )
    
    tf_cuda_library(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
Back to top