Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Attribute (0.41 sec)

  1. tensorflow/c/eager/c_api.cc

      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) {
      auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    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

      op->node.AddAttr(attr_name, attr_val);
      RecordMutation(graph, *op, "setting attribute");
    }
    
    void TF_ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
                      TF_Status* status) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      op->node.ClearAttr(attr_name);
      RecordMutation(graph, *op, "clearing attribute");
    }
    
    void TF_SetFullType(TF_Graph* graph, TF_Operation* op,
    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