From dev-return-5780-archive-asf-public=cust-asf.ponee.io@singa.apache.org Tue Jun 16 04:23:53 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 33386180661 for ; Tue, 16 Jun 2020 06:23:53 +0200 (CEST) Received: (qmail 68399 invoked by uid 500); 16 Jun 2020 04:23:52 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 68387 invoked by uid 99); 16 Jun 2020 04:23:52 -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; Tue, 16 Jun 2020 04:23:52 +0000 From: =?utf-8?q?GitBox?= To: dev@singa.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bsinga=5D_chrishkchris_edited_a_comment_on_pull_req?= =?utf-8?q?uest_=23733=3A_add_imdb_sentiment_model?= Message-ID: <159228143202.8807.14334724834589329641.asfpy@gitbox.apache.org> Date: Tue, 16 Jun 2020 04:23:52 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: chrishkchris edited a comment on pull request #733: URL: https://github.com/apache/singa/pull/733#issuecomment-644518262 > > And I found that the calculation of dw is not based on dy in the back propagation function of the rnn operator. Is this correct? > > hi from the cudnn api, dy is not used when getting dw, I think cudnn internals used the `reserve_space` for keeping `dy` from `backward dx` This is the API https://docs.nvidia.com/deeplearning/sdk/cudnn-api/index.html#cudnnRNNBackwardWeights It needs x, y, hx, reserveSpace ---------------------------------------------------------------- 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