GithubHelp home page GithubHelp logo

Comments (7)

helloworld77 avatar helloworld77 commented on June 13, 2024 1

I have looked at all of the API in v2.16.1 and there does not appear to be any flags or options that you would expect. Once I remove the TODO flag, the bot will automatically close this issue after 5 days if there is no new feedback from you.

Thanks, It really seems not have that flags. I will use tf-v1.x as a solution.

from onnx2tf.

PINTO0309 avatar PINTO0309 commented on June 13, 2024

relu6 activation is fuse into conv

It is completely wrong.

image

No wonder.

image

from onnx2tf.

helloworld77 avatar helloworld77 commented on June 13, 2024

relu6 activation is fuse into conv

It is completely wrong.

image

No wonder.

image

Thanks for your Response~~
I don't think it was wrong. take a look at the scale and zero point formate:
image
The old formate compute the relu-like activation into the scale computation.

from onnx2tf.

PINTO0309 avatar PINTO0309 commented on June 13, 2024

I am posting only the reference URL for the research process as I have to be out of town for an extended period of time. I will check it when I get home.

https://stackoverflow.com/questions/62000090/how-does-tflite-fuses-relu-into-conv-layers

from onnx2tf.

helloworld77 avatar helloworld77 commented on June 13, 2024

I am posting only the reference URL for the research process as I have to be out of town for an extended period of time. I will check it when I get home.

https://stackoverflow.com/questions/62000090/how-does-tflite-fuses-relu-into-conv-layers

Thanks !
I found that this kind of fusion (fused_activation_function=NONE) was adopt by tensorflow<=1.12.x version, after this version, activation like relu was explicit fused_activation_function=RELU, there should be some switch button in latest tensorflow, because the type: FusedActivationFunctionType::kNone is still in main branch of tensorflow.
Thank you again for your great work.

from onnx2tf.

helloworld77 avatar helloworld77 commented on June 13, 2024

I am posting only the reference URL for the research process as I have to be out of town for an extended period of time. I will check it when I get home.

https://stackoverflow.com/questions/62000090/how-does-tflite-fuses-relu-into-conv-layers

I will take a look at this solution. Thanks again.

from onnx2tf.

PINTO0309 avatar PINTO0309 commented on June 13, 2024

I have looked at all of the API in v2.16.1 and there does not appear to be any flags or options that you would expect. Once I remove the TODO flag, the bot will automatically close this issue after 5 days if there is no new feedback from you.

from onnx2tf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.