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

Function TF_SetAttrPlaceholder

tensorflow/c/c_api.cc:894–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894void TF_SetAttrPlaceholder(TF_OperationDescription* desc, const char* attr_name,
895 const char* placeholder) {
896 tensorflow::AttrValue attr_value;
897 attr_value.set_placeholder(placeholder);
898 desc->node_builder.Attr(attr_name, attr_value);
899}
900
901void TF_SetAttrFuncName(TF_OperationDescription* desc, const char* attr_name,
902 const char* value, size_t length) {

Callers 1

Calls 1

AttrMethod · 0.45

Tested by 1