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

Question about rel_shape in ops.Reshape #1689

Closed
YunseokJANG opened this issue Jan 25, 2020 · 2 comments
Closed

Question about rel_shape in ops.Reshape #1689

YunseokJANG opened this issue Jan 25, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@YunseokJANG
Copy link

Hi, I have a short question.

In the current API document for ops.Reshape, rel_shape is only used for -1 (wildcard):
https://docs.nvidia.com/deeplearning/sdk/dali-master-branch-user-guide/docs/supported_ops.html?highlight=rel_shape#nvidia.dali.ops.Reshape

But, in the test code, shape param also takes -1 as an input:

self.reshape = ops.Reshape(device = device, shape = (H, WC), layout = "ab");

So I guess 'rel_shape' in the following link needs to be replaced to 'shape', maybe?

"e.g. input of shape `[480, 640, 3]` and `rel_shape = [240, -1]` would get the "

Regards,

  • Yunseok Jang
@JanuszL JanuszL added the bug Something isn't working label Jan 25, 2020
@JanuszL JanuszL added this to the Release_0.19.0 milestone Jan 25, 2020
@JanuszL
Copy link
Contributor

JanuszL commented Jan 25, 2020

Hi,
Thank you for letting us know about this typo. #1691 should fix that.

@YunseokJANG
Copy link
Author

Thanks for your prompt response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants