aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/tensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'reference_model/src/tensor.h')
-rw-r--r--reference_model/src/tensor.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/reference_model/src/tensor.h b/reference_model/src/tensor.h
index e97554f..3fa23f9 100644
--- a/reference_model/src/tensor.h
+++ b/reference_model/src/tensor.h
@@ -689,16 +689,7 @@ public:
default:
break;
}
-
- std::string shape_str("[");
- for (auto& dim : shape_)
- {
- shape_str += (std::to_string(dim) + ", ");
- }
- shape_str.append("]");
-
- FATAL_ERROR("Unsupported tensor name=%s, type=%s, rank=%d, shape=%s", tensorName_.c_str(),
- EnumNamesDType()[tensorDtype_], rank, shape_str.c_str());
+ return nullptr;
}
static Tensor* newTensor(DType type, const std::vector<int> shape);