SMS: Digital neural networks