Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for do (0.27 sec)

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

      }
      return status.status;
    }
    
    TEST(RamFileBlockCacheTest, IsCacheEnabled) {
      auto fetcher = [](const string& filename, size_t offset, size_t n,
                        char* buffer, TF_Status* status) -> int64_t {
        // Do nothing.
        TF_SetStatus(status, TF_OK, "");
        return 0;
      };
      tf_gcs_filesystem::RamFileBlockCache cache1(0, 0, 0, fetcher);
      tf_gcs_filesystem::RamFileBlockCache cache2(16, 0, 0, fetcher);
    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/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      new_entry->lra_iterator = lra_list_.begin();
      new_entry->timestamp = timer_seconds_();
      block_map_.emplace(std::make_pair(key, new_entry));
      return new_entry;
    }
    
    // Remove blocks from the cache until we do not exceed our maximum size.
    void RamFileBlockCache::Trim() {
      while (!lru_list_.empty() && cache_size_ > max_bytes_) {
        RemoveBlock(block_map_.find(lru_list_.back()));
      }
    }
    
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      TF_FilesystemPluginInfo info;
      memset(&info, 0, sizeof(info));
      auto TF_InitPlugin =
          reinterpret_cast<int (*)(TF_FilesystemPluginInfo*)>(dso_symbol);
      TF_InitPlugin(&info);
    
      // Step 4: Do the actual registration
      return filesystem_registration::RegisterFilesystemPluginImpl(&info);
    }
    
    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. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:build_pip_package" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
    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)
  5. CONTRIBUTING.md

    # Contributing guidelines
    
    ## Pull Request Checklist
    
    Before sending your pull requests, make sure you do the following:
    
    -   Read the [contributing guidelines](CONTRIBUTING.md).
    -   Read the [Code of Conduct](CODE_OF_CONDUCT.md).
    -   Ensure you have signed the
        [Contributor License Agreement (CLA)](https://cla.developers.google.com/).
    -   Check if your changes are consistent with the
    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)
  6. LICENSE

              excluding those notices that do not pertain to any part of
              the Derivative Works; and
    
          (d) If the Work includes a "NOTICE" text file as part of its
              distribution, then any Derivative Works that You distribute must
              include a readable copy of the attribution notices contained
              within such NOTICE file, excluding those notices that do not
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.cc

    #include "tensorflow/core/protobuf/rewriter_config.pb.h"
    #include "tsl/platform/env.h"
    #include "tsl/platform/errors.h"
    
    namespace {
    
    #define VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                 \
        if (STRUCT_OBJ.struct_size == 0) {                                 \
          return absl::Status(absl::StatusCode::kFailedPrecondition,       \
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  8. tensorflow/c/eager/custom_device_test.cc

      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      EXPECT_FALSE(executed);
      ASSERT_FALSE(TF_GetCode(status.get()) == TF_OK);
    
      // Custom devices can refuse to do type-based dispatch (as hcustom1 is
      // configured to do)
      matmul.reset(MatMulOp(context.get(), hcustom1.get(), hcpu.get()));
      num_retvals = 1;
      executed = false;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  9. ci/official/utilities/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:wheel" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
        "//tensorflow/tools/lib_package:clicenses_generate"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler.h

    } TP_OptimizerRegistrationParams;
    
    #define TP_OPTIMIZER_REGISTRATION_PARAMS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerRegistrationParams, optimizer)
    
    // TF_InitGraph is used to do graph optimizer registration.
    // Plugin should implement TF_InitGraph to register graph optimizers.
    void TF_InitGraph(TP_OptimizerRegistrationParams* params, TF_Status* status);
    
    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)
Back to top