Does pytorch has loss function that is equivalent to tf.nn.weighted_cross_entropy_with_logits ?
https://www.tensorflow.org/api_docs/python/tf/nn/weighted_cross_entropy_with_logits
Does pytorch has loss function that is equivalent to tf.nn.weighted_cross_entropy_with_logits ?
https://www.tensorflow.org/api_docs/python/tf/nn/weighted_cross_entropy_with_logits
Thank you very much, that is what I needs.