pfnet-research / pfhedge

PyTorch-based framework for Deep Hedging
http://pfnet-research.github.io/pfhedge/
MIT License
261 stars 67 forks source link

Update functional.py #617

Closed Hannibal046 closed 1 year ago

Hannibal046 commented 1 year ago

make c be on the same device as unit, because the default device of torch.tensor is cpu

masanorihirano commented 1 year ago

This issue is already solved by other pull requests and waiting to be released. Please see develop branch.

masanorihirano commented 1 year ago

slved by #577