Setup file

In some instances, we might have to install packages that do not come prebuilt. The setup.py file comes in handy in such scenarios:

from setuptools import setup, find_packages
setup(name='mnist_mlp_lr_numsteps',
version='1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'keras',
'h5py'],
zip_safe=False)

In the preceding code, one could include the additional packages that are needed to run the model file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.240.222