From cb48ec013d47b74d47a0d45dc9e6e49bc37b9675 Mon Sep 17 00:00:00 2001 From: Leyuan Wang Date: Fri, 31 May 2019 00:14:43 -0700 Subject: [PATCH 1/2] alleviate hanging issue caused by concat op --- src/relay/op/tensor/transform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay/op/tensor/transform.cc b/src/relay/op/tensor/transform.cc index 6305d2288a83..b03a4ab7514f 100644 --- a/src/relay/op/tensor/transform.cc +++ b/src/relay/op/tensor/transform.cc @@ -282,7 +282,7 @@ RELAY_REGISTER_OP("concatenate") .add_type_rel("Concatenate", ConcatenateRel) .set_attr("FInferCorrectLayout", ConcatenateLayout) .set_attr("FTVMCompute", ConcatenateCompute) -.set_attr("TOpPattern", kInjective); +.set_attr("TOpPattern", kOpaque); TVM_REGISTER_NODE_TYPE(StackAttrs); From e041a90f17efd699c99d74fd0b1ce9dcf501269b Mon Sep 17 00:00:00 2001 From: Leyuan Wang Date: Fri, 31 May 2019 00:21:10 -0700 Subject: [PATCH 2/2] typo --- src/relay/op/tensor/transform.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/relay/op/tensor/transform.cc b/src/relay/op/tensor/transform.cc index b03a4ab7514f..3b6c40520cc4 100644 --- a/src/relay/op/tensor/transform.cc +++ b/src/relay/op/tensor/transform.cc @@ -6,9 +6,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + *- * http://www.apache.org/licenses/LICENSE-2.0 - * + *- * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY