mi-prometheus icon indicating copy to clipboard operation
mi-prometheus copied to clipboard

torch.nn.functional.sigmoid and torch.nn.functional.tanh deprecated

Open tsjayram opened this issue 5 years ago • 0 comments

Describe the bug When I use torch.nn.functional.sigmoid and torch.nn.functional.tanh I get warnings that they are deprecated and to use torch.sigmoid and torch.tanh instead. Apparently, this is because tensors and variables are now "merged".

Desktop (please complete the following information):

  • PyTorch version 1.0

tsjayram avatar Apr 01 '19 23:04 tsjayram