- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetAttrTypeList (0.06 sec)
-
tensorflow/c/eager/gradients.cc
} absl::Status SetAttrTypeList(AbstractOperation* op_, const char* attr_name, const DataType* values, int num_values, ForwardOperation* forward_op_) { forward_op_->attrs.Set(attr_name, gtl::ArraySlice<const DataType>(values, num_values)); return op_->SetAttrTypeList(attr_name, values, num_values); }
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
op_->node_builder.Attr( attr_name, ArraySlice<const int64_t>( reinterpret_cast<const int64_t*>(values), num_values)); return absl::OkStatus(); } absl::Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) override { op_->node_builder.Attr(attr_name, ArraySlice<const DataType>(values, num_values));
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
} } void TFE_OpSetAttrTypeList(TFE_Op* op, const char* attr_name, const TF_DataType* values, int num_values) { auto s = tensorflow::unwrap(op)->SetAttrTypeList( attr_name, reinterpret_cast<const tensorflow::DataType*>(values), num_values); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)