lib/torch/tensor.rb in torch-rb-0.5.0 vs lib/torch/tensor.rb in torch-rb-0.5.1
- old
+ new
@@ -172,7 +172,12 @@
# parser can't handle overlap, so need to handle manually
def random!(*args)
return _random!(0, *args) if args.size == 1
_random!(*args)
end
+
+ # center option
+ def stft(*args)
+ Torch.stft(*args)
+ end
end
end