| 152 | } |
| 153 | |
| 154 | static bool IsUnknownDimOrRank(int64_t dim_or_rank) { |
| 155 | return dim_or_rank == -1; |
| 156 | } |
| 157 | |
| 158 | // Returns the tf.Equal/tf.NotEqual result type given `x` and `y` and inputs. If |
| 159 | // `incompatible_shape_error` is true, reports error if `x` and `y` has |