提交 51d97ce2 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Remove name that was deprecated in 2010. This is super old.

上级 2c192649
......@@ -3,7 +3,6 @@ from . import pool
import warnings
warnings.warn("downsample module has been moved to the pool module.")
max_pool2D = pool.max_pool2D
max_pool_2d_same_size = pool.max_pool_2d_same_size
max_pool_2d = pool.pool_2d
DownsampleFactorMax = pool.Pool
......
......@@ -16,12 +16,6 @@ import theano
from theano import gof, Op, tensor, Variable, Apply
def max_pool2D(*args, **kwargs):
import sys
print("DEPRECATION: max_pool2D renamed to pool_2d", file=sys.stderr)
return pool_2d(*args, **kwargs)
def max_pool_2d_same_size(input, patch_size):
"""
Takes as input a 4-D tensor. It sets all non maximum values
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论