I know, I know... chase a fly with a bazooka. May this code help you understand what Keras does under the hood.