I am trying to create my own custom activation function in Tensorflow. It's mostly because I have to test out some sigmoid approximations. The thing is I only need it for inference. I found this solution in post here. However, I only want to use it for inference and because of this it seems to me pointlessly overcomplicated.
For any suggestion, I'd be grateful.