From 7e7b4b9e5d0bd35cc6e1da2ef687a39ae100d751 Mon Sep 17 00:00:00 2001 From: danleifeng <52735331+danleifeng@users.noreply.github.com> Date: Mon, 30 Nov 2020 10:42:14 +0800 Subject: [PATCH] remove sampled_softmax_with_cross_entropy alias;test=develop (#29180) --- python/paddle/nn/functional/loss.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/paddle/nn/functional/loss.py b/python/paddle/nn/functional/loss.py index 4432dee099d..7b7521d53a5 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 -- GitLab