- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_SetAttrBool (0.07 sec)
-
tensorflow/c/c_api_test.cc
TF_OperationDescription* desc = TF_NewOperation(graph, "MatMul", name); if (transpose_a) { TF_SetAttrBool(desc, "transpose_a", 1); } if (transpose_b) { TF_SetAttrBool(desc, "transpose_b", 1); } TF_AddInput(desc, {l, 0}); TF_AddInput(desc, {r, 0}); TF_Operation* op = TF_FinishOperation(desc, s);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.h
const float* values, int num_values); TF_CAPI_EXPORT extern void TF_SetAttrBool(TF_OperationDescription* desc, const char* attr_name, unsigned char value);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
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)); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)