Hmmm… looking at it I find
Tensor where(const Tensor & condition, const Tensor & other) const;
Python documentation is rather pythonic and seemingly not applicable to C++ if I am not mistaken. C++ documentation is not to be found…
How am I to provide a condition like ‘value is equal to 0’ to this function in a Tensor?