Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 113 for external (0.19 sec)

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

        Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max());
        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)
  2. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(out.size(), 1);
      // Now read the first block; this should yield an INTERNAL error because we
      // had already cached a partial block at a later position.
      Status status = ReadCache(&cache, "", 0, block_size, &out);
      EXPECT_EQ(status.code(), error::INTERNAL);
    }
    
    TEST(RamFileBlockCacheTest, LRU) {
      const size_t block_size = 16;
      std::list<size_t> calls;
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h"
    
    #include <memory>
    
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/cloud/now_seconds_env.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    build --python_path="/usr/local/bin/python3"
    
    # Build TensorFlow v2
    build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
    
    # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
    # > TF's gen_api_init_files has a genrule to run the core TensorFlow code
    # > on the host machine. If we don't have --distinct_host_configuration=false,
    # > the core TensorFlow code will be built once for the host and once for the
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

    // clang-format on
    
    #include "absl/strings/match.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                               TransactionToken* token,
                                               std::vector<std::string>* result) {
      if (ops_->get_matching_paths == nullptr)
        return internal::GetMatchingPaths(this, Env::Default(), pattern, result);
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      // Note that `matches` is allocated by the plugin and freed by core
    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)
  8. tensorflow/c/c_api_test.cc

    #include <algorithm>
    #include <cstddef>
    #include <iterator>
    #include <memory>
    #include <vector>
    
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/c_test_util.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/cc/saved_model/signature_constants.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  9. tensorflow/c/eager/c_api_experimental_test.cc

    #include "tensorflow/c/eager/c_api_experimental.h"
    
    #include <string.h>
    
    #include <string>
    
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/distributed_runtime/server_lib.h"
    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)
  10. tensorflow/c/eager/c_api_unified_experimental_test.cc

    #include <memory>
    
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    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)
Back to top