Closed helloworld77 closed 7 months ago
relu6 activation is fuse into conv
It is completely wrong.
No wonder.
relu6 activation is fuse into conv
It is completely wrong.
No wonder.
Thanks for your Response~~ I don't think it was wrong. take a look at the scale and zero point formate:
The old formate compute the relu-like activation into the scale computation.
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 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.
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.
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.
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.
Issue Type
Feature Request
OS
Linux
onnx2tf version number
1.10.0
onnx version number
1.10.2
onnxruntime version number
none
onnxsim (onnx_simplifier) version number
none
tensorflow version number
2.13.0
Download URL for ONNX
https://github.com/onnx/models/blob/main/Computer_Vision/resnet18_Opset18_torch_hub/resnet18_Opset18.onnx
Parameter Replacement JSON
Description