Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationGetAttrMetadata (0.13 sec)

  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)).
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

          if (count < max_control_outputs) {
            control_outputs[count] = ToOperation(edge->dst());
          }
          ++count;
        }
      }
      return count;
    }
    
    TF_AttrMetadata TF_OperationGetAttrMetadata(TF_Operation* oper,
                                                const char* attr_name,
                                                TF_Status* status) {
      TF_AttrMetadata metadata;
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top