Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for It (0.14 sec)

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

    }
    
    void RamFileBlockCache::RemoveFile_Locked(const std::string& filename) {
      Key begin = std::make_pair(filename, 0);
      auto it = block_map_.lower_bound(begin);
      while (it != block_map_.end() && it->first.first == filename) {
        auto next = std::next(it);
        RemoveBlock(it);
        it = next;
      }
    }
    
    void RamFileBlockCache::RemoveBlock(BlockMap::iterator entry) {
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(cache.CacheSize(), 0);
    }
    
    TEST(RamFileBlockCacheTest, ParallelReads) {
      // This fetcher won't respond until either `callers` threads are calling it
      // concurrently (at which point it will respond with success to all callers),
      // or 10 seconds have elapsed (at which point it will respond with an error).
      const int callers = 4;
      BlockingCounter counter(callers);
    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)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

      // Finalize the function by providing the returned values.
      TF_AbstractFunction* func;
      {
        // We want to return the output of both add operations, create a new list
        // and populate it.
        TF_OutputList* func_outputs = TF_NewOutputList();
        TF_OutputListPushBack(func_outputs, add_output1, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_OutputListPushBack(func_outputs, add_output2, s);
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      char* p = ops_->translate_name(filesystem_.get(), name.c_str());
      CHECK(p != nullptr) << "TranslateName(" << name << ") returned nullptr";
    
      std::string ret(p);
      // Since `p` is allocated by plugin, free it using plugin's method.
      plugin_memory_free_(p);
      return ret;
    }
    
    void ModularFileSystem::FlushCaches(TransactionToken* token) {
      if (ops_->flush_caches != nullptr) ops_->flush_caches(filesystem_.get());
    }
    
    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)
  5. tensorflow/c/eager/c_api_experimental_test.cc

        TF_DeleteStatus(status);
      }
    
      // 6. Read `var` using `ctx_1`. This read should succeed since `ctx_1` was
      // created with `isolate_session_state` set to false, and update should
      // preserve it.
      {
        // Create a handle to `var`, using `ctx_1`.
        TFE_TensorHandle* var_handle =
            CreateVarHandle(ctx_1, remote_device, /*variable_name=*/"var");
    
        TFE_TensorHandle* handle_1 = nullptr;
    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

      sufficient description, if applicable unit tests are added, if it is a
      reasonable contribution (meaning it is not a single liner cosmetic PR).
    
    **2. Valid?**
    
    -   If the PR passes all the quality checks then we go ahead and assign a
        reviewer.
    -   If the PR didn't meet the validation criteria, we request for additional
        changes to be made to PR to pass quality checks and send it back or on a
        rare occasion we may reject it.
    
    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/eager/c_api_experimental.h

    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
    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)
  8. tensorflow/c/eager/c_api.h

                                                      TF_Status* status);
    
    // Removes a function from the context. Once removed, you can no longer
    // TFE_Execute it or TFE_Execute any TFE_Op which has it as an attribute or any
    // other function which calls it as an attribute.
    TF_CAPI_EXPORT extern void TFE_ContextRemoveFunction(TFE_Context* ctx,
                                                         const char* name,
    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)
  9. tensorflow/c/experimental/grappler/grappler.h

    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    //       `TF_GraphProperties`, `TF_FunctionLibraryDefinition`
    //   * We use `struct_size` for version checking. It should be set both by
    //     core and the plugin.
    //     * For example, `TF_InitGraph` function receives
    //       `TP_OptimizerRegistrationParams*` as input with `struct_size`
    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)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    setup_file() {
        cd /tf/tensorflow
        bazel version  # Start the bazel server
    }
    
    # Do a bazel query specifically for the licenses checker. It searches for
    # targets matching the provided query, which start with // or @ but not
    # //tensorflow (so it looks for //third_party, //external, etc.), and then
    # gathers the list of all packages (i.e. directories) which contain those
    # targets.
    license_query() {
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top