Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetAttrValue (0.09 sec)

  1. tensorflow/c/c_api_test.cc

      tensorflow::AttrValue attr_value;
      ASSERT_TRUE(GetAttrValue(feed, "dtype", &attr_value, s)) << TF_Message(s);
      EXPECT_EQ(attr_value.type(), tensorflow::DT_INT32);
    
      // 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));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top