提交 5abbae65 authored 作者: Amjad Almahairi's avatar Amjad Almahairi

Merge branch 'ticket_2257' of https://github.com/aalmah/Theano into ticket_2257

...@@ -4059,6 +4059,9 @@ class Tile(Op): ...@@ -4059,6 +4059,9 @@ class Tile(Op):
<http://docs.scipy.org/doc/numpy/reference/generated/numpy.tile.html>`_ <http://docs.scipy.org/doc/numpy/reference/generated/numpy.tile.html>`_
""" """
def __init__(self, ndim): def __init__(self, ndim):
warnings.warn((
"Tile op is deprecated, use tile function instead."),
stacklevel=3)
self.ndim = ndim self.ndim = ndim
def __eq__(self, other): def __eq__(self, other):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论