SO-Net
SO-Net copied to clipboard
how to install the index_max?
I follow the prompts to install index_max and the following error occurs
If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().b ackend() use tensor.device(). error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2
environment:windows10, pytoch3.9