Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for attrId (0.15 sec)

  1. tensorflow/c/eager/c_api.cc

    void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs) {
      tensorflow::unwrap(op)->AddAttrs(tensorflow::unwrap(attrs));
    }
    
    void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs, TF_Buffer* buf,
                              TF_Status* status) {
      tensorflow::NameAttrList name_and_attrs;
      tensorflow::unwrap(attrs)->GetNameAttrList(&name_and_attrs);
      status->status = MessageToBuffer(name_and_attrs, buf);
    }
    
    namespace tensorflow {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  2. tensorflow/c/c_api.cc

                                              const char* attr_name,
                                              TF_Status* status) {
      const tensorflow::AttrValue* attr = oper->node.attrs().Find(attr_name);
      if (attr == nullptr) {
        status->status = InvalidArgument("Operation '", oper->node.name(),
                                         "' has no attr named '", attr_name, "'.");
      }
      return attr;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top