Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Are (0.14 sec)

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

      // first block of "a" expires, this block should also be removed because it
      // also belongs to file "a".
      TF_EXPECT_OK(ReadCache(&cache, "a", 8, 1, &out));
      // 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));
    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

        auto fcmp = block_map_.upper_bound(fmax);
        if (fcmp != block_map_.begin() && key < (--fcmp)->first) {
          return TF_SetStatus(status, TF_INTERNAL,
                              "Block cache contents are inconsistent.");
        }
      }
    
      Trim();
    
      return TF_SetStatus(status, TF_OK, "");
    }
    
    void RamFileBlockCache::MaybeFetch(const Key& key,
    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/eager/c_api_unified_experimental_test.cc

    #include "tensorflow/core/platform/test.h"
    
    using tensorflow::Status;
    using tensorflow::string;
    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
    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

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/file_system_helper.h"
    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    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. CONTRIBUTING.md

    -   Ensure you have signed the
        [Contributor License Agreement (CLA)](https://cla.developers.google.com/).
    -   Check if your changes are consistent with the
        [guidelines](#general-guidelines-and-philosophy-for-contribution).
    -   Changes are consistent with the [Coding Style](#c-coding-style).
    -   Run the [unit tests](#running-unit-tests).
    
    ## How to become a contributor and submit your own code
    
    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. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    # the dependencies of that target which include a license notice file are then
    # included when generating that license. Necessary because the license targets
    # in TensorFlow are manually enumerated rather than generated automatically.
    do_external_licenses_check(){
      BUILD_TARGET="$1"
      LICENSES_TARGET="$2"
    
      # grep patterns for targets which are allowed to be missing from the licenses
    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)
  7. tensorflow/c/eager/c_api_experimental.h

      // be an empty string if no device was explicitly requested, but will
      // otherwise be the name of this custom device. Ops are placed onto a custom
      // device if any of their inputs are on that custom device, but custom devices
      // are free to set a bad status in order to require explicit placement.
      void (*execute)(const TFE_Op* op, int* num_outputs,
    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/gradients.cc

          vspace, target_tensor_ids, source_tensor_ids, sources_that_are_targets,
          output_gradients, result, /*build_default_zeros_grads*/ false));
      return absl::OkStatus();
    }
    
    // Helper functions which delegate to `AbstractOperation`, update
    // the state of the ForwardOperation and call the tape as appropriate.
    // These APIs are mainly to facilitate testing and are subject to change.
    namespace internal {
    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)
  9. LICENSE

          the copyright owner that is granting the License.
    
          "Legal Entity" shall mean the union of the acting entity and all
          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
    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)
  10. tensorflow/c/eager/dlpack.cc

      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
    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)
Back to top