提交 8e61224a authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Add drop property to Dimshuffle

上级 a64055dd
......@@ -173,6 +173,7 @@ class DimShuffle(ExternalCOp):
# List of dimensions of the output that are broadcastable and were not
# in the original input
self.augment = sorted([i for i, x in enumerate(new_order) if x == "x"])
self.drop = drop
if self.inplace:
self.view_map = {0: [0]}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论