Hi,
Great demo with qnn+tf.keras. Is there a way to suppress the warnings below?
WARNING:tensorflow:You are casting an input of type complex128 to an incompatible dtype float32. This will discard the imaginary part and may not be what you intended
I tried 3 different options but none worked:
- set
verbose=0
inmodel.fit()
- set log level for tf:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import tensorflow as tf
- using the
warnings
package:
import warnings
warnings.filterwarnings('ignore')