From commits-return-110317-apmail-mxnet-commits-archive=mxnet.apache.org@mxnet.incubator.apache.org Fri Dec 27 03:14:55 2019 Return-Path: X-Original-To: apmail-mxnet-commits-archive@minotaur.apache.org Delivered-To: apmail-mxnet-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id EC0F81950F for ; Fri, 27 Dec 2019 03:14:54 +0000 (UTC) Received: (qmail 74585 invoked by uid 500); 27 Dec 2019 03:14:54 -0000 Delivered-To: apmail-mxnet-commits-archive@mxnet.apache.org Received: (qmail 74541 invoked by uid 500); 27 Dec 2019 03:14:53 -0000 Mailing-List: contact commits-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list commits@mxnet.incubator.apache.org Received: (qmail 74528 invoked by uid 99); 27 Dec 2019 03:14:53 -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; Fri, 27 Dec 2019 03:14:53 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 3B9C18D80D; Fri, 27 Dec 2019 03:14:53 +0000 (UTC) Date: Fri, 27 Dec 2019 03:14:41 +0000 To: "commits@mxnet.apache.org" Subject: [incubator-mxnet] branch master updated (2ad3ce4 -> 37197b6) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <157741647589.6095.13454690240861612582@gitbox.apache.org> From: haoj@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-mxnet X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 2ad3ce408b08456bff0b92a82aa3c484adde29f2 X-Git-Newrev: 37197b6750a09cf0dbad250bad36ab545f462fbb X-Git-NotificationType: ref_changed X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. haoj pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git. from 2ad3ce4 broadcast_axis optimization (#17091) add 37197b6 any/all (#17087) No new revisions were added by this update. Summary of changes: python/mxnet/_numpy_op_doc.py | 101 +++++++++++++++++++++ python/mxnet/numpy_dispatch_protocol.py | 2 + src/operator/mshadow_op.h | 8 ++ src/operator/mxnet_op.h | 23 +++++ src/operator/numpy/np_broadcast_reduce_op.h | 53 +++++++++++ .../numpy/np_broadcast_reduce_op_boolean.cc | 85 +++++++++++++++++ ..._index.cu => np_broadcast_reduce_op_boolean.cu} | 15 +-- src/operator/operator_tune.cc | 2 + src/operator/tensor/broadcast_reduce-inl.cuh | 10 ++ src/operator/tensor/broadcast_reduce-inl.h | 12 +++ src/operator/tensor/broadcast_reduce_op.h | 33 +++++++ src/operator/tensor/matrix_op-inl.h | 2 +- .../python/unittest/test_numpy_interoperability.py | 28 ++++++ tests/python/unittest/test_numpy_op.py | 78 ++++++++++++++++ 14 files changed, 445 insertions(+), 7 deletions(-) create mode 100644 src/operator/numpy/np_broadcast_reduce_op_boolean.cc copy src/operator/numpy/{np_broadcast_reduce_op_index.cu => np_broadcast_reduce_op_boolean.cu} (75%)