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