-
Notifications
You must be signed in to change notification settings - Fork 443
unbound output #296
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
unbound output #296
Conversation
|
Should the code provide examples both unbound and bound outputs? |
|
I think we should pick one, bound or unbound, to make the sample focus just on how to use batch. In reply to: 590580532 [](ancestors = 590580532) |
|
Added the binding output code back as comments In reply to: 590606427 [](ancestors = 590606427,590580532) |
|
|
||
| // Print Results | ||
|
|
||
| // conment three lines below if bind output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo : Comment out three lines below when using bound output.
| auto outputValue = results.Outputs().Lookup(L"softmaxout_1").as<TensorFloat>(); // Get outputs by output name | ||
| auto outputShape = outputValue.Shape(); | ||
| printf("output dimensions [%d, %d, %d, %d]\n", outputShape.GetAt(0), outputShape.GetAt(1), outputShape.GetAt(2), outputShape.GetAt(3)); | ||
| // conment three lines above if bind output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo : Comment out three lines above when using bound output.
No description provided.