Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_OperationGetAttrMetadata (0.11 sec)

  1. tensorflow/c/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void VerifyCollocation(TF_Operation* op,
                             const std::vector<string>& expected) {
        TF_AttrMetadata m =
            TF_OperationGetAttrMetadata(op, tensorflow::kColocationAttrName, s_);
        if (expected.empty()) {
          ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_);
          EXPECT_EQ("Operation 'add' has no attr named '_class'.",
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
Back to top