Through our first Keras-based TensorFlow program, we will perform machine learning with a GPU to train MNIST datasets.
The following program has been modified to use a hundred training cycles or epochs to learn from training datasets. It is based on a demonstration by François Chollet, hosted on the official TensorFlow repositories and based on an MIT license:
#@title MIT License # Copyright (c) 2019 François Chollet # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, ...