Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: can't implement len for KerasShapesWrapper & Add bias implement to Conv2DTranspose.Call() #1078

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 1 commit into from
May 18, 2023

Conversation

lingbai-kong
Copy link
Contributor

Solve 2nd problem of #1012

Before solving the issue, I found another bug in Conv2DTranspose.build(). The len() cannot be used for input_shape after the commit 747e658, which change the type of input_shape from Shape to KerasShapesWrapper. I solved it by using len(single_shape) instead of len(input_shape), where single_shape = input_shape.ToSingleShape().

Back to the issue, the NotImplementedException raised because the lack of implement to handle 'use_bias' in 'Call' process of Conv2DTranspose. I add the code referring original TensorFlow.

Thanks!

@lingbai-kong lingbai-kong requested a review from Oceania2018 as a code owner May 18, 2023 16:51
@AsakusaRinne AsakusaRinne added bug Something isn't working auto-release labels May 18, 2023
@Oceania2018 Oceania2018 merged commit c0bf8d2 into SciSharp:master May 18, 2023
@lingbai-kong lingbai-kong deleted the patch-2 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
auto-release bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants