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

Explicitly differentiate between variable batch sizes and fixed batch sizes #79

Open
phildow opened this issue May 8, 2019 · 0 comments
Milestone

Comments

@phildow
Copy link
Contributor

phildow commented May 8, 2019

Layer descriptions track an isBatched boolean and if it is true take the batch size from the input data, not the layer, assuming that the batch dimension supports variable batch sizes (indicated by a None in python and a -1 in c++).

But some models may require a fixed batch size for inputs. I don't think our input code for vector layers cares as long as the right amount of data is supplied in a batch, but image inputs can't parse a fixed batch size along the first or last dimension.

@phildow phildow modified the milestones: v0.7.x, 0.8.x May 16, 2019
@phildow phildow modified the milestones: v0.8.x, v0.9.x May 30, 2019
@phildow phildow modified the milestones: v0.9.x, v1.x May 13, 2020
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

No branches or pull requests

1 participant