提交 29f4f906 authored 作者: Frederic Bastien's avatar Frederic Bastien

Add a comment

上级 9db2dcad
...@@ -1145,6 +1145,7 @@ def dnn_conv(img, kerns, border_mode='valid', subsample=(1, 1), ...@@ -1145,6 +1145,7 @@ def dnn_conv(img, kerns, border_mode='valid', subsample=(1, 1),
:attr:`config.dnn.conv.precision`. :attr:`config.dnn.conv.precision`.
""" """
# For consistence, when using direction_hint too.
if border_mode == (0, 0): if border_mode == (0, 0):
border_mode = 'valid' border_mode = 'valid'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论