test_forward.py
115 KB
-
[Bugfix][Frontend][TF] Fix incorrect calculations in tf SLICE (#4518) · 9bd2c7b4
* fix formula for calculating end indices when size[i] == -1 * add a test case for size[i] == -1 * discard expanding dimension of begin_value & end_value since it is needed only if you pass them as scalars not as tensors. * discard 'slice_tensor' variable so that implementation matches the tf parser pattern
Ina Dobreva committed