»If you need to transition from TF1 to TF2, consider doing the TF1 to pytorch transition instead.»
- that’s exactly what we did and we don’t regret that decision
- that’s exactly what we did and we don’t regret that decision
If you are trying to apply one of these libraries to a production system that doesn’t get a lot of throughput you probably shouldn’t be using them (try a linear model first). If you have a high throughput application you probably want tensorflow and just deal with the shittyness.
layer = F.relu(Linear()(input))
instead of layer = Dense(activation_fn='relu')(input)
As a result, it's a lot more straightforward to try out custom activation functions in PyTorch.