'TensorFlow optimisation during running model speed up Predict

I want to disable a computation of several filters during Predict call with Tensorflow 2 and Keras.

Do i have to modify the source code of Tensorflow to achieve that ?



Solution 1:[1]

Short answer: No, you don't have to modify the Tensorflow source code.

Long answer with example detailled here.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Noltibus