如果损失来自于sparse_softmax_cross_entropy_with_logits.,我如何缩放梯度?unsupported operand type(s) for /: 'IndexedSlices' and 'int'loss = tf.nn.sparse_softmax_cross_entropy_with_logits
有人知道如何使用tensorflow "tf.losses.softmax_cross_entropy“吗?或者我们可以在这篇文章sigmoid_cross_entropy loss function from tensorflow for image segmentation中直接输入像tf.losses.sigmoid_cross_entropy