Add Attribute To Numpy Function