# -*- coding:utf-8 -*-
# /usr/bin/python
'''
-------------------------------------------------
File Name : CNN
Description : AIM: 卷积神经网络
Functions: 1. 卷积层
2. 池化层
Envs : python == 3.7
pip install tensorflow==2.1.0 -i https://pypi.douban.com/simple
Author : errol
Date : 2020/5/1 15:15
CodeStyle : 规范,简洁,易懂,可阅读,可维护,可移植!
-------------------------------------------------
Change Activity:
2020/5/1 : 手写字体识别实现卷积和池化层和全连接层的计算
-------------------------------------------------
'''
import tensorflow as tf
im