From dev-return-5092-archive-asf-public=cust-asf.ponee.io@singa.apache.org Sat Apr 11 15:47:27 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 3ABC9180181 for ; Sat, 11 Apr 2020 17:47:27 +0200 (CEST) Received: (qmail 98329 invoked by uid 500); 11 Apr 2020 15:47:26 -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 98319 invoked by uid 99); 11 Apr 2020 15:47:26 -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; Sat, 11 Apr 2020 15:47:26 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] chrishkchris edited a comment on issue #674: Autograd Layer constructor Message-ID: <158662004650.30495.444606555389498520.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Sat, 11 Apr 2020 15:47:26 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit chrishkchris edited a comment on issue #674: Autograd Layer constructor URL: https://github.com/apache/singa/issues/674#issuecomment-612449937 > I think it's not an issue. When we use the computational graph, initialization operations won't be buffered since we just need to execute them once. For these operations, I just execute them immediately instead of buffering them into the graph at present. So before running the entire graph, all parameter tensors will be initialized. Yes, if the initization is in the init function, it will be not buffered automatically. If the initialization is in call function, we can still add a few lines to turn off the buffering. In both case, the graph function won't be affected. ---------------------------------------------------------------- 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 With regards, Apache Git Services