pymc-devs / pytensor

PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.

Home Page:https://pytensor.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`tensor.where` does not behave like `np.where` when only one input (condition) is passed

ricardoV94 opened this issue · comments

Description

In this case it should return condition.nonzero(): https://numpy.org/doc/stable/reference/generated/numpy.where.html