- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SetAttrInt (0.09 sec)
-
tensorflow/c/eager/gradients_internal.h
// Sets the attrs in the `ForwardOperation`. absl::Status SetAttrString(AbstractOperation*, const char* attr_name, const char* data, size_t length, ForwardOperation*); absl::Status SetAttrInt(AbstractOperation*, const char* attr_name, int64_t value, ForwardOperation*); absl::Status SetAttrFloat(AbstractOperation*, const char* attr_name, float value, ForwardOperation*);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
int* num_retvals) = 0; virtual absl::Status SetAttrString(const char* attr_name, const char* data, size_t length) = 0; virtual absl::Status SetAttrInt(const char* attr_name, int64_t value) = 0; virtual absl::Status SetAttrFloat(const char* attr_name, float value) = 0; virtual absl::Status SetAttrBool(const char* attr_name, bool value) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
return op_->SetAttrString(attr_name, data, length); } absl::Status SetAttrInt(AbstractOperation* op_, const char* attr_name, int64_t value, ForwardOperation* forward_op_) { forward_op_->attrs.Set(attr_name, static_cast<int64_t>(value)); return op_->SetAttrInt(attr_name, value); } absl::Status SetAttrFloat(AbstractOperation* op_, const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
size_t length) override { tensorflow::StringPiece s(data, length); op_->node_builder.Attr(attr_name, s); return absl::OkStatus(); } absl::Status SetAttrInt(const char* attr_name, int64_t value) override { op_->node_builder.Attr(attr_name, static_cast<int64_t>(value)); return absl::OkStatus(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
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; } } void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)