1. 首页
  2. 数据库
  3. 其它
  4. MaxPooling 最大池化简单实现

MaxPooling 最大池化简单实现

上传者: 2020-12-23 07:00:48上传 PDF文件 21KB 热度 10次
#!/usr/bin/env python2 # -*-coding:utf8-*- import numpy as np def max_pooling(feature_map, size=2, stride=2): """max_pooling""" channel = feature_map.shape[0] height = feature_map.shape[1] width = feature_map.shape[2] # 确定最后的输出形状 out_height = np.uint16((height - size) // stri
下载地址
用户评论