From 18ce7b45fbb0d3d8e54c80be70d220b87deeefd1 Mon Sep 17 00:00:00 2001 From: Sven Date: Tue, 29 Mar 2022 18:12:28 +0800 Subject: [PATCH] Enable handle support for new hardware (#334) Signed-off-by: xiang.zhang --- src/tim/vx/tensor.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tim/vx/tensor.cc b/src/tim/vx/tensor.cc index 0d0dc7f..884cbbb 100644 --- a/src/tim/vx/tensor.cc +++ b/src/tim/vx/tensor.cc @@ -187,7 +187,6 @@ bool TensorImpl::Init() { PackTensorDtype(spec_, &attr.dtype); -#ifndef VSI_40BIT_VA_SUPPORT if ((spec_.attr_ & TensorAttribute::INPUT) || (spec_.attr_ & TensorAttribute::OUTPUT)) { #ifdef VX_CREATE_TENSOR_SUPPORT_PHYSICAL @@ -211,7 +210,6 @@ bool TensorImpl::Init() { #endif } else -#endif { id_ = vsi_nn_AddTensor(graph_->graph(), VSI_NN_TENSOR_ID_AUTO, &attr, nullptr);