From dev-return-5091-archive-asf-public=cust-asf.ponee.io@singa.apache.org Sat Apr 11 15:43:00 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 DCA5A180181 for ; Sat, 11 Apr 2020 17:42:59 +0200 (CEST) Received: (qmail 96053 invoked by uid 500); 11 Apr 2020 15:42:59 -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 96043 invoked by uid 99); 11 Apr 2020 15:42:59 -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:42:59 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] chrishkchris commented on issue #674: Autograd Layer constructor Message-ID: <158661977912.27430.15354555143490108065.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Sat, 11 Apr 2020 15:42:59 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit chrishkchris commented 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 automally. If the initialization is in call function, we can still add a few lines to turn off the buffering. ---------------------------------------------------------------- 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