Commit 664b8b6
Fix bug with correlate for tensorflow (#21778)
* fix correlate bug
* fix correlate function
* add pydoc
* Update keras/src/backend/tensorflow/numpy.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* comment, and remove recursion
* address comments around shape_op and test
* explicit about which axes to squeeze
* fix max call
* fix `max` call
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 6d06085 commit 664b8b6
2 files changed
+48
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3186 | 3186 | | |
3187 | 3187 | | |
3188 | 3188 | | |
3189 | | - | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
| 3193 | + | |
| 3194 | + | |
| 3195 | + | |
3190 | 3196 | | |
3191 | | - | |
3192 | | - | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
3193 | 3209 | | |
3194 | | - | |
3195 | | - | |
| 3210 | + | |
| 3211 | + | |
3196 | 3212 | | |
3197 | | - | |
3198 | | - | |
| 3213 | + | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
| 3217 | + | |
| 3218 | + | |
| 3219 | + | |
| 3220 | + | |
| 3221 | + | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
3199 | 3227 | | |
3200 | | - | |
3201 | | - | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
3202 | 3239 | | |
3203 | | - | |
3204 | | - | |
3205 | | - | |
3206 | | - | |
3207 | | - | |
3208 | | - | |
3209 | | - | |
3210 | | - | |
3211 | | - | |
3212 | | - | |
3213 | 3240 | | |
3214 | 3241 | | |
3215 | 3242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5230 | 5230 | | |
5231 | 5231 | | |
5232 | 5232 | | |
5233 | | - | |
5234 | | - | |
| 5233 | + | |
| 5234 | + | |
5235 | 5235 | | |
5236 | 5236 | | |
5237 | 5237 | | |
| |||
0 commit comments