提交 f0d000ac authored 作者: Frederic Bastien's avatar Frederic Bastien

pre apply another optimization.

上级 328ccd59
......@@ -1241,7 +1241,7 @@ def merge_two_slices(slice1, len1, slice2, len2):
``len1`` is the length of the tensor **before** applying the first slice,
while ``len2`` is the length **after** applying the first slice.
'''
list_opt = [ constant_folding, local_remove_switch_const_cond ]
list_opt = [ constant_folding, local_remove_switch_const_cond, local_upcast_elemwise_constant_inputs ]
if type(slice1) is not slice:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论