Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _code (0.18 sec)

  1. tensorflow/c/c_api_test.cc

    TEST(CAPI, StatusEnum) {
      EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK));
      EXPECT_EQ(TF_CANCELLED, static_cast<TF_Code>(tensorflow::error::CANCELLED));
      EXPECT_EQ(TF_UNKNOWN, static_cast<TF_Code>(tensorflow::error::UNKNOWN));
      EXPECT_EQ(TF_INVALID_ARGUMENT,
                static_cast<TF_Code>(absl::StatusCode::kInvalidArgument));
      EXPECT_EQ(TF_DEADLINE_EXCEEDED,
                static_cast<TF_Code>(tensorflow::error::DEADLINE_EXCEEDED));
    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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // if the returned `Status` signals the unimplemented state.
    bool UnimplementedOrReturnsCode(Status actual_status, Code expected_code) {
      Code actual_code = actual_status.code();
      return (actual_code == Code::UNIMPLEMENTED) || (actual_code == expected_code);
    }
    
    TEST_P(ModularFileSystemTest, TestTranslateName) {
      const std::string generic_path = GetURIForPath("some_path");
      FileSystem* fs = nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

        } else {
          // In async mode we expect forwarding to work without releasing the input
          // handle since by the time the kernel is executed we have released the
          // handle in the client code.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        }
      } else {
        if (forward_input) {
          // Since the input was forwarded, we released the input handle right away
    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)
Back to top