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

Add Conv1D impementation #67

Merged
merged 7 commits into from
Jun 2, 2021
Merged

Conversation

avan1235
Copy link
Contributor

Resolves #59

I wasn't able to hide the Conv2DImpl class in any way that come to my mind, maybe you have some idea.
My first approach was to create delegate field in Conv1D but then there is problem with Layer functions that are not visible and imo should also be then overriden by with delegate calls

I create a few helper internal functions in ShapeFunctions they maybe useful in more places than the conv tests but I wasn't sure if this is the best place for them.

If implementation and helper function will be ok I can think of some extra tests (I'm open to suggestions)

Copy link
Collaborator

@zaleslaw zaleslaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR, looks like you did a great job, finish some simple review comments and it could be merged

@zaleslaw
Copy link
Collaborator

@avan1235 Please merge the master branch, it helps me to run examples on your branch

@zaleslaw zaleslaw added the Review This PR is under review label May 31, 2021
@avan1235
Copy link
Contributor Author

@zaleslaw I did the rebase and now it should have the newest source code from master

@zaleslaw
Copy link
Collaborator

zaleslaw commented Jun 1, 2021

@avan1235 I recognized that the layer export/import is missing.
Could you please add it close to the Conv2d export/import?

@avan1235
Copy link
Contributor Author

avan1235 commented Jun 1, 2021

@zaleslaw thanks for pointing this out, I've now added the proper functions in ModelLoader and ModelSaver

@zaleslaw zaleslaw added LGTM PR reviewed and is ready to merge and removed Review This PR is under review labels Jun 2, 2021
@zaleslaw
Copy link
Collaborator

zaleslaw commented Jun 2, 2021

LGTM for me, first in the queue to merge at this moment, I'll run the TC build and merge if there are no new issues there.

@avan1235
Copy link
Contributor Author

avan1235 commented Jun 2, 2021

Great, just rebased the branch to enable testing

@zaleslaw zaleslaw merged commit 54cd45c into Kotlin:master Jun 2, 2021
@avan1235 avan1235 deleted the avan1235/conv1d-impl branch June 21, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM PR reviewed and is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Audio] Add Conv1D layer
2 participants