Implementation Costs of Spiking versus Rate-Based ANNs