Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Greter (0.19 sec)

  1. tensorflow/c/c_api.cc

                                         " but actual rank is ", rank);
        return;
      }
    
      if (num_dims == 0) {
        // Output shape is a scalar.
        return;
      }
    
      // Rank is greater than 0, so fill in the values, if known, and
      // -1 for unknown values.
      for (int i = 0; i < num_dims; ++i) {
        auto dim = ic->Dim(shape, i);
        int64_t value = -1;
        if (ic->ValueKnown(dim)) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        return ::testing::AssertionFailure() << TF_Message(status);
    
      auto writer = gcs_client->WriteObject(bucket, object);
      writer.write(content + offset, length);
      writer.Close();
      if (writer.metadata()) {
        return ::testing::AssertionSuccess();
      } else {
        return ::testing::AssertionFailure()
               << writer.metadata().status().message();
      }
    }
    
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      StatusPtr first_bad_status(nullptr);
    
      for (const auto& dt : device_threads_) {
        StatusPtr async_wait_status(TF_NewStatus());
        dt->AsyncWait(async_wait_status.get());
        // Prefer non cancelled errors to uncover real failures.
        if (TF_GetCode(async_wait_status.get()) != TF_OK &&
            (first_bad_status == nullptr ||
             TF_GetCode(first_bad_status.get()) == TF_CANCELLED)) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(calls, 1);
      // Now advance the clock one second at a time and redo the read. The call
      // count should advance every 3 seconds (i.e. every time the staleness is
      // greater than 2).
      for (int i = 1; i <= 10; i++) {
        env->SetNowSeconds(i + 1);
        TF_EXPECT_OK(ReadCache(&cache1, "", 0, 1, &out));
        EXPECT_EQ(calls, 1 + i / 3);
      }
    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)
Back to top