From dev-return-4216-archive-asf-public=cust-asf.ponee.io@singa.apache.org Wed Feb 19 02:44:34 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 CB56818060E for ; Wed, 19 Feb 2020 03:44:33 +0100 (CET) Received: (qmail 95338 invoked by uid 500); 19 Feb 2020 02:44:33 -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 95328 invoked by uid 99); 19 Feb 2020 02:44:33 -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; Wed, 19 Feb 2020 02:44:33 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] dcslin commented on issue #597: added tensor index selector Message-ID: <158208027305.18146.13445480146291400668.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Wed, 19 Feb 2020 02:44:33 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit dcslin commented on issue #597: added tensor index selector URL: https://github.com/apache/singa/pull/597#issuecomment-588006821 > Hi, @dcslin, for the backward of CNN, I guess I should firstly pad the dy as its shape same with the shape before index selection. So, I need a function that can add one column and row at the end or start of the matrix. For example, for "SAME_UPPER" mode, and output shape of [3,3,32,32], I need to pad one column and one row at the end of the dy to make the shape as [3,3,32,32]. hi could it be done in reverse way? add extra padding and make it symmetrical, and trim off one column by using the selection[]. ---------------------------------------------------------------- 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