From dev-return-149-archive-asf-public=cust-asf.ponee.io@tvm.apache.org Mon Apr 8 05:20:03 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 0A94118061A for ; Mon, 8 Apr 2019 07:20:02 +0200 (CEST) Received: (qmail 30468 invoked by uid 500); 8 Apr 2019 05:00:25 -0000 Mailing-List: contact dev-help@tvm.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tvm.apache.org Delivered-To: mailing list dev@tvm.apache.org Received: (qmail 30456 invoked by uid 99); 8 Apr 2019 05:00:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2019 05:00:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 82F8EC0010 for ; Mon, 8 Apr 2019 05:20:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.9 X-Spam-Level: X-Spam-Status: No, score=0.9 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=2, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=github.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Na_kevulb5UW for ; Mon, 8 Apr 2019 05:20:00 +0000 (UTC) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C9DDA5FAD8 for ; Mon, 8 Apr 2019 05:19:59 +0000 (UTC) Received: by mail-ed1-f46.google.com with SMTP id u2so6010410eds.8 for ; Sun, 07 Apr 2019 22:19:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:delivered-to:date:dkim-signature:from:reply-to :to:cc:message-id:in-reply-to:references:subject:mime-version :content-transfer-encoding:precedence:list-id:list-archive:list-post :list-unsubscribe; bh=NBJ65P37xzukLlpnsbEkrdzacVQ35+cLTs0kVNc+Q3w=; b=tvSyK+b8A9WxOIEMiXRhmbIrTW2Un47v8axSeac6AZxhFtL3iS0Z1sZo2AStaAwccU Az3gku+ATalqbVOBoeMA8l3Lklx1vkiaSvIF6mC1LxOcEaqdmhFFk4I2ESZKj999oVHL Gy77Z438+nRMTBd2Y0VoZQ0n9oRmaj0OsuNWvugYT9G5MY7u3ew+z5Iht7KrV1runDOd +2TWP6JSjRrvMzPwuUsTi3dmC/3kmR/GB+CBCJFWxWECEPdsMDP2dUj6L/JzVZAdu+F2 R1U4J1GfMiytIkzyRUn1vVsKSfgss2TUhNPWrMjn0sl1UGVLG7qoE3iN+qWAc9U8hPjJ iZRQ== X-Gm-Message-State: APjAAAX5FwyipAcNyRoYSWyVAC/I9mt4+CM7v1fvGR31x5t5kYTc8+RJ fPjBkhhr49YbZ07rfJVTVZjex9am622fam3IO5y03b0kv7lPP+8= X-Received: by 2002:a50:9ee8:: with SMTP id a95mr17634538edf.142.1554700793120; Sun, 07 Apr 2019 22:19:53 -0700 (PDT) X-Forwarded-To: dev@tvm.apache.org X-Forwarded-For: tvm.archiver@gmail.com dev@tvm.apache.org Delivered-To: tvm.archiver@gmail.com Received: by 2002:a50:cf4b:0:0:0:0:0 with SMTP id d11csp3235203edk; Sun, 7 Apr 2019 22:19:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzn2p2MYXn/qea1AaJfBhl1AwmDauZb29BM5jNQ1CX57uYqCXJT44yLqNmEXQirUhlsc7cW X-Received: by 2002:a37:4e94:: with SMTP id c142mr21802588qkb.274.1554700791888; Sun, 07 Apr 2019 22:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554700791; cv=none; d=google.com; s=arc-20160816; b=zoUaETTsWm5MQtWxCVtyxqtDhtfW90sbbOimmqkmZ3La7NMO6Hr3fXVJvg4bpHD2Rw tCmW8WSzCL3AT+iVMue7PGWhWQC/IPcfei3EEVe0vp/Pp6Osuyjpo2PkCkRfadRzgine pv/E8Ncag2JrOpJTXh1Xn0xl1KXCBpFNfR2Q+LJvg/vG5NLQVwRSYziB8NVmA1cqEezg TVP4Tieuyf7I6Vts5Kma4h6e0JNv/KqBp57kBYxOtrBHe/127y2P7ezOuumV2EXct5jj Sa0oHidX9pTI8gh/sZA4x2c+Mjo4Y0alyYfED5ivRx4JipG4+2/PkTrmoKJz34c3ahXa Hs8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-post:list-archive:list-id:precedence :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:reply-to:from:dkim-signature:date; bh=NBJ65P37xzukLlpnsbEkrdzacVQ35+cLTs0kVNc+Q3w=; b=iDGD/Y0a0QAQU0OVdkCZoI84We7iwnrjAnBgfU4CO9hHxSpsTjMbC0LSl1jQs2oVkw 9VSSiG4j4ZDEzDm+HQjyWtyObbGFXNSXg3LyJ4H1pTNO+iO/l62GZDFfCkwEU0oijJjx Dvm9jE77bQIaOy8t14d9xLiy4UcGFdh9dRYQb95YSfN3Peie2nMltO5Wzd9yZxm8fQU5 wDzZGu/irSrfbu7peoDqUsWwwd20oFBI+zKCU/Y7c+9lBFdTF5j+brwvyUzcYoiWS7Rk iV2YosGvzkxB0fPhHaz9IUW1BW/ykZkCHEUyUZzwpKQeUL31uA1Cz3ohnke4ZSb4dWwj 0pcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b="M/i+mktS"; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.196 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Received: from out-5.smtp.github.com (out-5.smtp.github.com. [192.30.252.196]) by mx.google.com with ESMTPS id s17si1686952qkj.96.2019.04.07.22.19.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Apr 2019 22:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of noreply@github.com designates 192.30.252.196 as permitted sender) client-ip=192.30.252.196; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b="M/i+mktS"; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.196 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Date: Sun, 07 Apr 2019 22:19:51 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1554700791; bh=NBJ65P37xzukLlpnsbEkrdzacVQ35+cLTs0kVNc+Q3w=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=M/i+mktSfR1/2wj4jsAInbxd6322v7Jeu2AYCEW+11YfhQbbYSIamZG5MG86jGqw5 XnUuPEWMIWy4srnqtcg7p8BiwrnOpUd0yP35lysP74Cexdw8CC4SWUHJ1K8AFxN003 zHpOoUDSCpD3l6xTSLGA/yLRu1/bqGXYhGYynGJg= From: Tianqi Chen Reply-To: dmlc/tvm To: dmlc/tvm Cc: Subscribed Message-ID: In-Reply-To: References: Subject: Re: [dmlc/tvm] [RFC] More PackedFunc metadata (#2983) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5caad9f7892d6_2c303febc5cd45c45898d0"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Sender: tqchen X-GitHub-Recipient: tvm-archiver X-GitHub-Reason: subscribed List-Archive: https://github.com/dmlc/tvm X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: tvm.archiver@gmail.com ----==_mimepart_5caad9f7892d6_2c303febc5cd45c45898d0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit RE: Node hierarchy. One ultimate direction is to use a DSL(for example python with typing info) as a way of declaring the node relations and fields and create generator util to generate the classes. The main challenge is to keep most of the data structures purely in C(so we can get ABI compatibility across languages). We do also want to keep some of the node base class and the possibility to declare node inside c++ for some private temp node. Which does not enjoy the cross-lang features but can make easy use of any language-specific data structure. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/2983#issuecomment-480687154 ----==_mimepart_5caad9f7892d6_2c303febc5cd45c45898d0--