Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Entrees (0.17 sec)

  1. tensorflow/c/checkpoint_reader.cc

              std::unique_ptr<TensorSliceReader::VarToDataTypeMap>>
    CheckpointReader::BuildV2VarMaps() {
      CHECK(v2_reader_ != nullptr);
      CHECK(v2_reader_->status().ok());
    
      // First pass: filters out the entries of the slices.
      std::unordered_set<string> filtered_keys;
      BundleEntryProto entry;
      v2_reader_->Seek(kHeaderEntryKey);
      for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      EXPECT_EQ(value, 2);
      EXPECT_TRUE(cache2.Lookup("c", &value));
      EXPECT_EQ(value, 3);
      EXPECT_TRUE(cache2.Lookup("d", &value));
      EXPECT_EQ(value, 4);
      // Insertion of "e" causes "a" to be evicted, but the other entries are still
      // there.
      cache2.Insert("e", 5);
      EXPECT_FALSE(cache2.Lookup("a", &value));
      EXPECT_TRUE(cache2.Lookup("b", &value));
      EXPECT_EQ(value, 2);
      EXPECT_TRUE(cache2.Lookup("c", &value));
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      status = env_->GetChildren(dirpath, &children);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      if (!status.ok()) GTEST_SKIP() << "GetChildren() not supported: " << status;
    
      // All entries must show up in the vector.
      // Must contain only the last name in filenames and dirnames.
      const std::vector<std::string> expected_children = {"a_file", "another_file",
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

              uint64_t stat_cache_max_age, size_t stat_cache_max_entries);
    } GCSFile;
    
    // This function is used to initialize a filesystem without the need of setting
    // manually environement variables.
    void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size,
                  size_t max_bytes, uint64_t max_staleness,
                  uint64_t stat_cache_max_age, size_t stat_cache_max_entries,
                  TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/not_differentiable.h

    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    // Ignores `grad_outputs` and sets all entries in grad_inputs to nullptr.
    class NotDifferentiableGradientFunction : public GradientFunction {
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Dec 03 22:28:48 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      WriteString(subfile, "test");
      EXPECT_TF_OK(status_);
    
      char** entries;
      auto num_entries = tf_gcs_filesystem::GetChildren(filesystem_, base.c_str(),
                                                        &entries, status_);
      EXPECT_TF_OK(status_);
    
      std::vector<std::string> childrens;
      for (int i = 0; i < num_entries; ++i) {
        childrens.push_back(entries[i]);
      }
      std::sort(childrens.begin(), childrens.end());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  7. tensorflow/c/env.h

    // Deletes the specified directory and all subdirectories and files underneath
    // it. This is accomplished by traversing the directory tree rooted at dirname
    // and deleting entries as they are encountered.
    //
    // If dirname itself is not readable or does not exist, *undeleted_dir_count is
    // set to 1, *undeleted_file_count is set to 0 and an appropriate status (e.g.
    // TF_NOT_FOUND) is returned.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // Return a new options object.
    TF_CAPI_EXPORT extern TF_SessionOptions* TF_NewSessionOptions(void);
    
    // Set the target in TF_SessionOptions.options.
    // target can be empty, a single entry, or a comma separated list of entries.
    // Each entry is in one of the following formats :
    // "local"
    // ip:port
    // host:port
    TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options,
                                            const char* target);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

                           char*** entries, TF_Status* status) {
      struct dirent** dir_entries = nullptr;
      /* we don't promise entries would be sorted */
      int num_entries =
          scandir(path, &dir_entries, RemoveSpecialDirectoryEntries, nullptr);
      if (num_entries < 0) {
        TF_SetStatusFromIOError(status, errno, path);
      } else {
        *entries = static_cast<char**>(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

     private:
      TensorTape tensor_tape_;
      OpTape<BackwardFunction, TapeTensor> op_tape_;
      int64_t next_op_id_{0};
    
      // Map from tensor id to number of remaining usages (i.e. how many entries in
      // the tape refer to it); to aid in tape garbage collection.
      std::unordered_map<int64_t, int64_t> tensor_usage_;
    
      // If false, all activations are deleted in the first call to ComputeGradient.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top