Is there way to build the tensor manipulate subset of pytorch?

There’re some use cases that only need tensor manipulation, no need backprob and other things

For mobile builds it is supported to disable autograd, but if you want it more generally, you might need to dig into the build system. Searching for DISABLE_AUTOGRAD or BUILD_MOBILE might give you some ideas.

Best regards


1 Like