Skip to content

feat: Support training of RNN and LSTM. #1110

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

Merged
merged 19 commits into from
Jun 21, 2023
Merged

feat: Support training of RNN and LSTM. #1110

merged 19 commits into from
Jun 21, 2023

Conversation

Wanglongzhi2001
Copy link
Collaborator

@Wanglongzhi2001 Wanglongzhi2001 commented Jun 18, 2023

  1. Support the model building of RNN.
  2. Support the model building of LSTM.
  3. Support the training of RNN.
  4. Support the training of LSTM.
  5. Add test.
  6. Refactor Tensors class to deal with implicit conversion from Tensors to Tensor and support Nest Tensors.
  7. Add Nest class to handle nested Tensor cases, and add corresponding Flatten and Mapstructure API.
  8. Use IOptionalArgs in Layer.Apply to prevent the inconsistency of Call method parameters in different layers, resulting in the need to set too many Call method parameters.
  9. Add the implemention of while_loop in graph mode.

@Wanglongzhi2001
Copy link
Collaborator Author

It builds on windows successfully, but fails to build on linux. According to the error message, it seems that the problem is on protobuf. Is this matters? @AsakusaRinne

@AsakusaRinne
Copy link
Collaborator

It builds on windows successfully, but fails to build on linux. According to the error message, it seems that the problem is on protobuf. Is this matters? @AsakusaRinne

I'll test it on linux later

@AsakusaRinne AsakusaRinne added enhancement New feature or request api New API or change API keras auto-release and removed auto-release labels Jun 18, 2023
@AsakusaRinne
Copy link
Collaborator

The problem in ci has been located, which will be solved after upgrading the redist packages later.

@AsakusaRinne AsakusaRinne merged commit 0454c7b into SciSharp:master Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api New API or change API enhancement New feature or request keras
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants