LeNet解析 --Conv2D --MaxPool2D --Sigmoid/Relu
import paddle
import os
import numpy as np
import matplotlib.pyplot as plt
from paddle.nn import Conv2D, MaxPool2D, Linear
import paddle.nn.functional as F
os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'
def showImg(data, is_arr=False, title=''):
if not
原创
2021-06-28 15:02:25 ·
371 阅读 ·
0 评论