Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Mattos (0.22 sec)

  1. tensorflow/c/c_api.cc

    }
    
    int TF_OperationGetNumAttrs(TF_Operation* oper) {
      return oper->node.attrs().size();
    }
    
    int TF_OperationGetAttrNameLength(TF_Operation* oper, int i) {
      auto attrs = oper->node.attrs();
      int count = 0;
      AttrValueMap::const_iterator it;
      for (it = attrs.begin(); it != attrs.end(); it++) {
        if (count == i) {
          return it->first.length();
        }
        count++;
      }
    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)
  2. 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)
Back to top