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

Insert a flatten layer if a dense layer follows a layer #118

Merged
merged 3 commits into from
Jan 20, 2023

Conversation

milancurcic
Copy link
Member

With this PR it's no longer necessary to explicitly flatten the output from a layer with 3-d output for input to dense layers. It flatten() is omitted in the network constructor, the constructor will take care of it.

@milancurcic milancurcic added the enhancement New feature or request label Jan 19, 2023
@milancurcic milancurcic merged commit e51a746 into modern-fortran:main Jan 20, 2023
@milancurcic milancurcic deleted the insert-flatten branch January 20, 2023 18:57
wilsonify pushed a commit to wilsonify/modern-fortran that referenced this pull request Jan 27, 2023
…an#118)

* Insert flatten if dense layer follows a layer with 3-d output

* Bump version

* Update copyright year
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant