- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_OpSetAttrBool (0.71 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/eager/c_api.cc
auto s = tensorflow::unwrap(op)->SetAttrFloat(attr_name, value); 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()) {
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) -
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value); TF_CAPI_EXPORT extern void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name, unsigned char value); TF_CAPI_EXPORT extern void TFE_OpSetAttrType(TFE_Op* op, const char* attr_name,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
serialized_config.length()); } if (use_tfrt) { // Set some test-only graph compiler options. TFE_OpSetAttrBool(op, "TFRT_TEST_enable_native_ops", false); TFE_OpSetAttrBool(op, "TFRT_TEST_enable_grappler", enable_grappler); } ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpAddInput(op, m, status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)