Searched refs:AllowedTypeValue (Results 1 – 1 of 1) sorted by relevance
43 Status AllowedTypeValue(DataType dt, const OpDef::AttrDef& attr) { in AllowedTypeValue() function127 TF_RETURN_IF_ERROR(AllowedTypeValue(attr_value.type(), attr)); in ValidateAttrValue()130 TF_RETURN_IF_ERROR(AllowedTypeValue(static_cast<DataType>(dt), attr)); in ValidateAttrValue()