Enable handle support for new hardware (#334)
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
This commit is contained in:
parent
d1b57e8eca
commit
18ce7b45fb
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue