Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_EXPECT_OK (0.22 sec)

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

      std::vector<char> out;
      TF_EXPECT_OK(ReadCache(&cache1, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 1);
      TF_EXPECT_OK(ReadCache(&cache2, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 2);
      TF_EXPECT_OK(ReadCache(&cache3, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache4, want_filename, want_offset, want_n, &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/expiring_lru_cache_test.cc

      cache2.LookupOrCompute("b", &value, compute_func, &status);
      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 1);
      EXPECT_EQ(num_compute_calls, 2);
      cache2.LookupOrCompute("c", &value, compute_func, &status);
      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 2);
      EXPECT_EQ(num_compute_calls, 3);
      cache2.LookupOrCompute("d", &value, compute_func, &status);
      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 3);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      tensorflow::Tensor tensor(DT_FLOAT, {1});
      TF_ASSERT_OK_AND_ASSIGN(auto pjrt_client, xla::GetCApiClient(DEVICE_CPU));
      PJRT_Buffer* c_buffer = CreateCBuffer();
    
      TF_EXPECT_OK(SetPjRtCBufferToTensor(
          c_buffer, down_cast<xla::PjRtCApiClient*>(pjrt_client.get()), &tensor));
    }
    
    TEST(TensorPjRtBufferUtilTest, SetPjRtCBufferToTensorSuccess) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. RELEASE.md

        graph optimizer options are now specified via
        `GraphOptions.OptimizerOptions`.
    *   `ASSERT_OK` / `EXPECT_OK` macros conflicted with external projects, so they
        were renamed `TF_ASSERT_OK`, `TF_EXPECT_OK`. The existing macros are
        currently maintained for short-term compatibility but will be removed.
    *   The non-public `nn.rnn` and the various `nn.seq2seq` methods now return just
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
Back to top