Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Fix shrink_mask in _prepare_StridedSlice for dynamic input shape #499

Merged
merged 1 commit into from
May 21, 2020

Conversation

jiafatom
Copy link
Collaborator

Slice op supports negative begin and end, so we can use negative value rather than calculating input shape (not working for dynamic shape)

@jiafatom jiafatom requested a review from wenbingl May 21, 2020 00:53
@jiafatom jiafatom changed the title Fix shrink_mask for dynamic input shape Fix shrink_mask in _prepare_StridedSlice for dynamic input shape May 21, 2020
@lgtm-com
Copy link

lgtm-com bot commented May 21, 2020

This pull request introduces 1 alert when merging 341cf7e into 40ccba8 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@jiafatom jiafatom merged commit bb5c193 into onnx:master May 21, 2020
@jiafatom jiafatom deleted the shrink_axis branch May 21, 2020 01:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants