reduce_sum() got an unexpected keyword argument 'keep_dims'
2.0.0版本出的问题:
解决:
normalize = tf.compat.v1.reduce_sum(target_exp, axis, keep_dims=True) softmax = tf.compat.v1.div(target_exp, normalize, name)
reduce_sum() got an unexpected keyword argument 'keep_dims'
2.0.0版本出的问题:
解决:
normalize = tf.compat.v1.reduce_sum(target_exp, axis, keep_dims=True) softmax = tf.compat.v1.div(target_exp, normalize, name)