Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OperationGetAttrValueProto (0.14 sec)

  1. tensorflow/c/c_api.h

    // Sets `output_attr_value` to the binary-serialized AttrValue proto
    // representation of the value of the `attr_name` attr of `oper`.
    TF_CAPI_EXPORT extern void TF_OperationGetAttrValueProto(
        TF_Operation* oper, const char* attr_name, TF_Buffer* output_attr_value,
        TF_Status* status);
    
    // Get the number of attributes the operation has.
    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.cc

      const auto len = std::min(max_values, static_cast<int>(ts.size()));
      for (int i = 0; i < len; ++i) {
        values[i] = TF_TensorFromTensor(ts[i], &status->status);
      }
    }
    
    void TF_OperationGetAttrValueProto(TF_Operation* oper, const char* attr_name,
                                       TF_Buffer* output_attr_value,
                                       TF_Status* status) {
    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