From commits-return-125714-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Fri Jun 12 00:42:55 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 180A918065E for ; Fri, 12 Jun 2020 02:42:55 +0200 (CEST) Received: (qmail 63451 invoked by uid 500); 12 Jun 2020 00:42:54 -0000 Mailing-List: contact commits-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list commits@mxnet.incubator.apache.org Received: (qmail 63442 invoked by uid 99); 12 Jun 2020 00:42:54 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2020 00:42:54 +0000 From: =?utf-8?q?GitBox?= To: commits@mxnet.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-mxnet=5D_wkcn_commented_on_issue_=231853?= =?utf-8?q?9=3A_mxnet=2Eexecutor=2Ebackward_does_not_compute_the_true_values?= =?utf-8?q?_of_gradients_at_all?= Message-ID: <159192257426.8807.11396066442565335023.asfpy@gitbox.apache.org> Date: Fri, 12 Jun 2020 00:42:54 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: wkcn commented on issue #18539: URL: https://github.com/apache/incubator-mxnet/issues/18539#issuecomment-643003111 Hi @modeste2015 , In the line `texec.backward(out)`, the argument of `textec.backward` is the `out_grads`. It should be `texec.backward(out.ones_like())` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org