conv7 = conv2d(conv6, weights['wc7'], biases['bc7'])
# Fully connected layer
fc1 = tf.contrib.layers.fully_connected(conv7, int(biases['bc8'].get_shape()[0]), activation_fn=tf.nn.relu, weights_initializer=None)
sfm = tf.nn.softmax(
fc1,
axis=None,
name="labels_softmax",
dim=None
)