- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for SetAttrType (0.12 seconds)
-
tensorflow/c/eager/gradients.cc
forward_op_->attrs.Set(attr_name, value); return op_->SetAttrBool(attr_name, value); } absl::Status SetAttrType(AbstractOperation* op_, const char* attr_name, DataType value, ForwardOperation* forward_op_) { forward_op_->attrs.Set(attr_name, value); return op_->SetAttrType(attr_name, value); } absl::Status SetAttrShape(AbstractOperation* op_, const char* attr_name,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } } void TFE_OpSetAttrType(TFE_Op* op, const char* attr_name, TF_DataType value) { auto s = tensorflow::unwrap(op)->SetAttrType( attr_name, static_cast<tensorflow::DataType>(value)); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)