From dev-return-3937-archive-asf-public=cust-asf.ponee.io@singa.apache.org Thu Nov 28 09:33:23 2019 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 2790818064C for ; Thu, 28 Nov 2019 10:33:23 +0100 (CET) Received: (qmail 75209 invoked by uid 500); 28 Nov 2019 09:33:22 -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 75199 invoked by uid 99); 28 Nov 2019 09:33:22 -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; Thu, 28 Nov 2019 09:33:22 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] joddiy commented on issue #565: fixed broadcast div pow Message-ID: <157493360236.27524.13819592852862585781.gitbox@gitbox.apache.org> Date: Thu, 28 Nov 2019 09:33:22 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit joddiy commented on issue #565: fixed broadcast div pow URL: https://github.com/apache/singa/pull/565#issuecomment-559415745 Hi, @dcslin it works fine, however, I saw a little difference between the results of numpy and singa(for pow based gpu and div based cpu). ``` Mismatch: 10% Max absolute difference: 0.00073242 Max relative difference: 5.9753495e-07 x: array([[-3.58730e+01, -9.22379e+03, -1.86656e+00, 1.22574e+03, 1.13451e-01], [ 3.81203e+00, -1.25024e+01, -1.21589e+00, 1.68196e-01,... y: array([[-3.58730e+01, -9.22379e+03, -1.86656e+00, 1.22574e+03, 1.13451e-01], [ 3.81203e+00, -1.25024e+01, -1.21589e+00, 1.68196e-01,... ``` Not too big, I guess the problem is caused by floating-point precision, is that ok? @nudles ---------------------------------------------------------------- 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