Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensor layout checking #32

Merged
merged 3 commits into from
Jul 9, 2018
Merged

Conversation

Kh4L
Copy link
Contributor

@Kh4L Kh4L commented Jul 9, 2018

Change SupportWorkspace::Input and SupportWorkspace::Ouput type to template specialization for consistency with other Workspace's.

Enforce input layouts to operators (to avoid silent failures / bad answers) where an op expects input in one format, usually NHWC, but we might pass in tensors of NCHW.

Expected input order currently specified in the schema and queried by each operator if desired, open to other suggestions.

Kh4L added 3 commits July 9, 2018 10:58
Signed-off-by: Serge Panev <spanev@nvidia.com>
Signed-off-by: Serge Panev <spanev@nvidia.com>
Signed-off-by: Serge Panev <spanev@nvidia.com>
@ptrendx ptrendx merged commit fdccf61 into NVIDIA:master Jul 9, 2018
@cliffwoolley cliffwoolley added this to the Release_0.2 milestone Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants