Skip to content

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

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

fix: can't implement len for KerasShapesWrapper & Add bias implement to Conv2DTranspose.Call()#1078
Oceania2018 merged 1 commit intoSciSharp:masterfrom
lingbai-kong:patch-2

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
@SanftMonster SanftMonster 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