- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetAttrBool (0.14 sec)
-
tensorflow/c/eager/c_api.cc
if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } } void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name, unsigned char value) { auto s = tensorflow::unwrap(op)->SetAttrBool(attr_name, (value == 0) ? false : true); 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) -
tensorflow/c/c_api.cc
const float* values, int num_values) { desc->node_builder.Attr(attr_name, ArraySlice<const float>(values, num_values)); } void TF_SetAttrBool(TF_OperationDescription* desc, const char* attr_name, unsigned char value) { desc->node_builder.Attr(attr_name, static_cast<bool>(value)); }
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)