mbrookhart commented on a change in pull request #6610:
URL: https://github.com/apache/incubator-tvm/pull/6610#discussion_r498439719



##########
File path: src/relay/op/tensor/transform.cc
##########
@@ -1979,7 +1985,11 @@ bool StridedSliceRel(const Array<Type>& types, int 
num_inputs, const Attrs& attr
   const StridedSliceAttrs* param = attrs.as<StridedSliceAttrs>();
   CHECK(param != nullptr);
   const auto* data = types[0].as<TensorTypeNode>();
-  CHECK(data != nullptr);
+
+  if (data != nullptr) {

Review comment:
       if (data == nullptr)




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to