Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for reorder (0.16 sec)

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

      if (TF_GetCode(status) != TF_OK)
        return ::testing::AssertionFailure() << TF_Message(status);
    
      auto reader = gcs_client->ReadObject(bucket, object);
      if (!reader) {
        return ::testing::AssertionFailure() << reader.status().message();
      } else {
        std::string content{std::istreambuf_iterator<char>{reader}, {}};
        return CompareSubString(offset, length, content, content.length());
      }
    }
    
    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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      for (const auto& status : statuses)
        EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    }
    
    TEST_P(ModularFileSystemTest, TestFilesExistAllFailureModes) {
      // if reordering these, make sure to reorder checks at the end
      const std::vector<std::string> filenames = {
          GetURIForPath("a_dir"),
          GetURIForPath("a_file"),
          GetURIForPath("a_file/a_new_file"),
          GetURIForPath("file_not_found"),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.cc

      v2_reader_->Seek(kHeaderEntryKey);
      for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) {
        if (filtered_keys.count(string(v2_reader_->key())) > 0) continue;
        CHECK(entry.ParseFromArray(v2_reader_->value().data(),
                                   v2_reader_->value().size()))
            << entry.InitializationErrorString();
        string key(v2_reader_->key());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_reader_test.cc

      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
      auto label_name = "test/label";
      auto* counter = CreateCounter1(counter_name, label_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental_reader.cc

      return result;
    }
    
    int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) {
      int64_t result = cell_reader->Read();
    
      return result;
    }
    
    int64_t TFE_MonitoringReadCounter1(TFE_MonitoringCounterReader* cell_reader,
                                       const char* label) {
      int64_t result = cell_reader->Read(label);
    
      return result;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top