ningjingzhiwei

Results 3 issues of ningjingzhiwei

I captured an image with an camera, and want to display this image on the DMD quickly(less than 3 ms). For example, the dimension of the image is 1024*768(the same...

enhancement

import tensorflow as tf from tensorflow.keras import layers, models import tensorflow_model_optimization as tfmot input_shape = (20,) annotated_model = tf.keras.Sequential([ tfmot.quantization.keras.quantize_annotate_layer(tf.keras.layers.Dense(20, input_shape=input_shape)), tf.keras.layers.Flatten() ]) quant_aware_model = tfmot.quantization.keras.quantize_apply(annotated_model) quant_aware_model.summary() when I run...

import tensorflow as tf from tensorflow.keras import layers, models import tensorflow_model_optimization as tfmot # Use `quantize_annotate_layer` to annotate that the `Dense` layer # should be quantized. input_shape = (20,) annotated_model...