Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ASSERT_FALSE (0.05 seconds)

  1. tensorflow/c/c_api_test.cc

      // Test not found errors in TF_Operation*() query functions.
      EXPECT_EQ(-1, TF_OperationOutputListLength(feed, "bogus", s));
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s));
    
      ASSERT_FALSE(GetAttrValue(feed, "missing", &attr_value, s));
      EXPECT_EQ(std::string("Operation 'feed' has no attr named 'missing'."),
                std::string(TF_Message(s)));
    
      // Make a constant oper with the scalar "3".
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
Back to Top