Open ZhouKai90 opened 3 years ago
I met a problem is Layer subtract is not supported.You can quantize this layer by passing a tfmot.quantization.keras.QuantizeConfig instance to the quantize_annotate_layer API.
I met a problem is Layer subtract is not supported.You can quantize this layer by passing a tfmot.quantization.keras.QuantizeConfig instance to the quantize_annotate_layer API.
Can you give me some example for quantizing this layer?
System information
RuntimeError: Layer tf_op_layer_ResizeNearestNeighbor:<class 'tensorflow.python.keras.engine.base_layer.TensorFlowOpLayer'> is not supported. You can quantize this layer by passing a
tfmot.quantization.keras.QuantizeConfig
instance to thequantize_annotate_layer
API. RuntimeError: Layer up_sampling2d:<class 'tensorflow.python.keras.layers.convolutional.UpSampling2D'> is not supported. You can quantize this layer by passing atfmot.quantization.keras.QuantizeConfig
instance to thequantize_annotate_layer
API.RuntimeError: Layer conv2d_transpose:<class 'tensorflow.python.keras.layers.convolutional.Conv2DTranspose'> is not supported. You can quantize this layer by passing a
tfmot.quantization.keras.QuantizeConfig
instance to thequantize_annotate_layer
API.May i ask what's the plan for the support of tf_op_layer_ResizeNearestNeighbor、UpSampling2D and Conv2DTranspose?