You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/10/01 18:38:25 UTC

[GitHub] [incubator-tvm] electriclilies commented on a change in pull request #6610: [BUG_FIX] Fixes #6608: CHECK(data != nullptr) causes type checking to fail

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



##########
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:
       whoopsies




----------------------------------------------------------------
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