diff --git a/python/paddle/nn/functional/loss.py b/python/paddle/nn/functional/loss.py index 4432dee099d216115f3b993d620299e3bbd9a9f7..7b7521d53a56f559c9aece9f45c073de2331a0d7 100755 --- a/python/paddle/nn/functional/loss.py +++ b/python/paddle/nn/functional/loss.py @@ -31,7 +31,6 @@ from ...fluid.layers import softmax_with_cross_entropy #DEFINE_ALIAS from ...fluid.layers import square_error_cost #DEFINE_ALIAS from ...fluid.layers import edit_distance #DEFINE_ALIAS -from ...fluid.layers import sampled_softmax_with_cross_entropy #DEFINE_ALIAS from ...fluid.layers import huber_loss from ...fluid.layer_helper import LayerHelper from ...fluid.framework import in_dygraph_mode