From dev-return-3064-archive-asf-public=cust-asf.ponee.io@singa.incubator.apache.org Wed Jul 31 07:28:10 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 EB6ED18062B for ; Wed, 31 Jul 2019 09:28:09 +0200 (CEST) Received: (qmail 41101 invoked by uid 500); 31 Jul 2019 07:28:09 -0000 Mailing-List: contact dev-help@singa.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.incubator.apache.org Delivered-To: mailing list dev@singa.incubator.apache.org Received: (qmail 41091 invoked by uid 99); 31 Jul 2019 07:28:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2019 07:28:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A28041A3192 for ; Wed, 31 Jul 2019 07:28:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -112.999 X-Spam-Level: X-Spam-Status: No, score=-112.999 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8Vt37uqlP1E0 for ; Wed, 31 Jul 2019 07:28:06 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=207.244.88.153; helo=mail.apache.org; envelope-from=jira@apache.org; receiver= Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with SMTP id 4C57FBC7B3 for ; Wed, 31 Jul 2019 07:28:06 +0000 (UTC) Received: (qmail 41081 invoked by uid 99); 31 Jul 2019 07:28:06 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2019 07:28:06 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5E0FCE2E88 for ; Wed, 31 Jul 2019 07:28:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 13A1C25810 for ; Wed, 31 Jul 2019 07:28:00 +0000 (UTC) Date: Wed, 31 Jul 2019 07:28:00 +0000 (UTC) From: "zhangzhaoqi (JIRA)" To: dev@singa.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SINGA-476) Autograd operators for ONNX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SINGA-476?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] zhangzhaoqi updated SINGA-476: ------------------------------ Attachment: arcface(based resnet100).png > Autograd operators for ONNX > --------------------------- > > Key: SINGA-476 > URL: https://issues.apache.org/jira/browse/SINGA-476 > Project: Singa > Issue Type: New Feature > Reporter: zhangzhaoqi > Priority: Critical > Attachments: arcface(based resnet100).png, tiny_yolov2.png > > > For the demo purpose, we need to implement these three models, and these = are their components: > h2. [Tiny yolov2|https://arxiv.org/pdf/1612.08242.pdf] > MaxPooling2D > Conv2D > BatchNormalization > LeakyReLU > Reshape > h2. [Arcface|https://arxiv.org/pdf/1801.07698.pdf] > Conv2D > BatchNormalization > relu > MaxPooling2D > Dropout > Flatten > Dense > Softmax > l2_normalize > acos > cos > h2. [BIDAF|https://arxiv.org/pdf/1611.01603.pdf] > K.stack > Softmax > K.expand_dims > K.sum > Constant > Dense > Lambda(lambda x: 1.0 - x, output_shape=3D(dim,)) > Multiply > Add > K.concatenate > K.shape > K.max > K.tile > K.squeeze > linear > TimeDistributed > Bidirectional(LSTM > =C2=A0 > =C2=A0 > In summary, we already implemented 12 ops, and there still are 16 ops nee= ded to be implemented: > h2. Already implemented: > -LSTM- > -Multiply- > -Add- > -linear- > -relu- > -acos- > -cos- > -LeakyReLU- > -Softmax- > -MaxPooling2D- > -Conv2D- > -BatchNormalization- > h2. To be implemented: > Reshape > Flatten > Dropout > max > shape > concatenate > Constant > L2Normalization > Expand > tile > squeeze > Dense* > TimeDistributed* > Bidirectional* > Stack* > Lambda* > *means this op doesn't have a corresponding one at=C2=A0ONNX op sets, the= refore, it needs a converter function=C2=A0by using basic op sets. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.14#76016)