-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Description
Take a look at the code snippet below:
Lines 42 to 44 in f67ff8b
| def find_measurable_comparisons( | |
| fgraph: FunctionGraph, node: Node | |
| ) -> Optional[List[MeasurableComparison]]: |
Here, the return type hint is wrong. MeasurableComparision is an Op, but what is returned are TensorVariables whose node has that Op.
This needs to be rectified for all the functions which intend to find a measurable op.
larryshamalama