Machine Learning, Data Science, Deep Learning, Artificial Intelligence, Towards Data Science.
K.int_shape(x) flatten_1 = Flatten()(x) dense_1 = Dense(bottleneck_size, name='z_mean')(flatten_1) z_mean = BatchNormalization()(dense_1) flatten_2 = Flatten()(x) dense_2 = Dense(bottleneck_size, name ='z_log_sigma')(flatten_2) z_log_sigma = BatchNormalization()(dense_2) z =