From dev-return-5593-archive-asf-public=cust-asf.ponee.io@singa.apache.org Tue Jun 2 02:50:03 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 A960B180665 for ; Tue, 2 Jun 2020 04:50:02 +0200 (CEST) Received: (qmail 12738 invoked by uid 500); 2 Jun 2020 02:50:01 -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 12726 invoked by uid 99); 2 Jun 2020 02:50:01 -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, 02 Jun 2020 02:50:01 +0000 From: =?utf-8?q?GitBox?= To: dev@singa.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bsinga=5D_XJDKC_edited_a_comment_on_pull_request_?= =?utf-8?q?=23697=3A_New_Model_Layer_Operator_API?= Message-ID: <159106620159.10999.2909999645056274530.asfpy@gitbox.apache.org> Date: Tue, 02 Jun 2020 02:50:01 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: XJDKC edited a comment on pull request #697: URL: https://github.com/apache/singa/pull/697#issuecomment-637237579 > > Summary: > > ``` > > * set hx.creator and cx.creator to None. (Still can't use the graph to train correctly but can be executed normally) > > > > * create ReLU layer instance > > ``` > > update conv and linear layers to include an argument for `activation` > > > ``` > > * create Loss layer instance > > > > * remove set_attribute function, just copy the initial value from tensor directly. Raise warning in __setattr__ when the types do not match > > ``` > > Shall we totally disable reassignment, like self.W=..., because it may affect the graph as it replace the tensor W with another tensor? > > > ``` > > * remove on_device function, get device info from input tensors > > ``` But I'm not sure where the reassignment is used in the whole project. Maybe it's used in many places ---------------------------------------------------------------- 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