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

卷积算子实现的bug #80

Open
WangFengtu1996 opened this issue Sep 25, 2024 · 1 comment
Open

卷积算子实现的bug #80

WangFengtu1996 opened this issue Sep 25, 2024 · 1 comment

Comments

@WangFengtu1996
Copy link

  • keras model
def make_model(input_shape):
    inputs = keras.Input(shape=input_shape)
    x = layers.Conv2D(16, (1, 5), strides=(1, 3), activation='relu')(inputs)
    x = layers.Conv2D(16, (1, 5), strides=(1, 3), activation='relu')(x)
    x = layers.Conv2D(16, (1, 5), strides=(1, 3), activation='relu')(x)
    x = layers.Conv2D(1, (2, 1), strides=(1, 1))(x)
    outputs = x
    return Model(inputs, outputs)
  • 与tflite 结果不一致,对齐不了。
@Zepan
Copy link
Contributor

Zepan commented Sep 29, 2024

就是不完全一致的,加快运算速度的折中,想要完全一致就会变慢。代码很少,可以进去查看

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

No branches or pull requests

2 participants