Skip to content

Commit f9f6d9d

Browse files
author
Alejandro Gaston Alvarez Franceschi
committed
Fix
1 parent 0c8cc8e commit f9f6d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coremltools/converters/mil/mil/passes/defs/lower_complex_dialect_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def _istft(
421421

422422
# The DFT matrix is obtained with the equation e^(2pi/N i), which is what we want but we actually need the conjuate => e^(-2pi/N i)
423423
# or in terms of cos and sin => cos+i*sin cos-i*sin
424-
sin_base = mb.sub(x=0., ysin_base, before_op=before_op)
424+
sin_base = mb.sub(x=0., y=sin_base, before_op=before_op)
425425

426426
cos_base = mb.expand_dims(x=cos_base, axes=(1,), before_op=before_op)
427427
sin_base = mb.expand_dims(x=sin_base, axes=(1,), before_op=before_op)

0 commit comments

Comments
 (0)