Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TF_OperationGetAttrMetadata (0.16 seconds)

  1. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern TF_AttrMetadata TF_OperationGetAttrMetadata(
        TF_Operation* oper, const char* attr_name, TF_Status* status);
    
    // Fills in `value` with the value of the attribute `attr_name`.  `value` must
    // point to an array of length at least `max_length` (ideally set to
    // TF_AttrMetadata.total_size from TF_OperationGetAttrMetadata(oper,
    // attr_name)).
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_test.cc

      }
    
      void VerifyCollocation(TF_Operation* op,
                             const std::vector<std::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'.",
    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