Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ASSERT_FALSE (0.04 sec)

  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(string("Operation 'feed' has no attr named 'missing'."),
                string(TF_Message(s)));
    
      // Make a constant oper with the scalar "3".
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top