From commits-return-13752-archive-asf-public=cust-asf.ponee.io@tvm.apache.org Wed May 20 19:27:44 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 9B683180637 for ; Wed, 20 May 2020 21:27:44 +0200 (CEST) Received: (qmail 22226 invoked by uid 500); 20 May 2020 19:27:44 -0000 Mailing-List: contact commits-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 commits@tvm.apache.org Received: (qmail 22124 invoked by uid 99); 20 May 2020 19:27:43 -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, 20 May 2020 19:27:43 +0000 From: =?utf-8?q?GitBox?= To: commits@tvm.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-tvm=5D_mbrookhart_commented_on_a_change_?= =?utf-8?q?in_pull_request_=235627=3A_Label_Pattern_Partitions?= Message-ID: <159000286389.19379.13170721154904715121.asfpy@gitbox.apache.org> Date: Wed, 20 May 2020 19:27:43 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: mbrookhart commented on a change in pull request #5627: URL: https://github.com/apache/incubator-tvm/pull/5627#discussion_r428256923 ########## File path: python/tvm/relay/dataflow_pattern/__init__.py ########## @@ -112,21 +112,23 @@ def match(self, expr: Expr) -> bool: """ return match(self, expr) - def partition(self, expr: Expr) -> bool: + def partition(self, expr: Expr, attrs=None) -> Expr: """ Parition the expression into functions defined by this pattern Parameters ---------- expr : tvm.relay.Expr The expression to match. + attrs : dict[str->Object] Review comment: Changed ---------------------------------------------------------------- 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