Skip to content

fix: error when set the activation of keras.layers.Conv2DTranspose to null.#1076

Merged
Oceania2018 merged 1 commit intoSciSharp:masterfrom
lingbai-kong:patch-1
May 17, 2023
Merged

fix: error when set the activation of keras.layers.Conv2DTranspose to null.#1076
Oceania2018 merged 1 commit intoSciSharp:masterfrom
lingbai-kong:patch-1

Conversation

@lingbai-kong
Copy link
Contributor

Solve 1st problem of #1012

The bug is caused by the unchecked variable in GetActivationFromName().

In original TensorFlow, the corresponding method just returns the 'linear' function when encountering this null situation.

I solved the problem in their way.

Thanks!

@lingbai-kong lingbai-kong requested a review from Oceania2018 as a code owner May 17, 2023 10:30
@Oceania2018
Copy link
Member

Thanks for your contribution, keep it up!

@Oceania2018 Oceania2018 merged commit 7d7f4e1 into SciSharp:master May 17, 2023
@lingbai-kong lingbai-kong deleted the patch-1 branch May 21, 2023 06:07
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

Successfully merging this pull request may close these issues.

2 participants