MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TF_SetAttrBool

Function TF_SetAttrBool

tensorflow/c/c_api.cc:867–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867void TF_SetAttrBool(TF_OperationDescription* desc, const char* attr_name,
868 unsigned char value) {
869 desc->node_builder.Attr(attr_name, static_cast<bool>(value));
870}
871
872void TF_SetAttrBoolList(TF_OperationDescription* desc, const char* attr_name,
873 const unsigned char* values, int num_values) {

Callers 2

MatMulMethod · 0.85
TEST_FFunction · 0.85

Calls 1

AttrMethod · 0.45

Tested by 2

MatMulMethod · 0.68
TEST_FFunction · 0.68