mirror of https://github.com/alibaba/MNN.git
sunset ddk v2 interface
This commit is contained in:
parent
aed41a82de
commit
9e64e885a9
|
@ -434,7 +434,6 @@ namespace MNN {
|
|||
auto index = mInputMap.find((unsigned long)(const_cast<Tensor*>(dstTensor)));
|
||||
MNN_ASSERT(index != mInputMap.end());
|
||||
shared_ptr<hiai::AiTensor> input = mInputTensors[index->second];
|
||||
|
||||
memcpy(input->GetBuffer(), srcTensor->host<void>(), (size_t)input->GetSize());
|
||||
} else if(isOutputCopy){
|
||||
int index;
|
||||
|
|
Loading…
Reference in New Issue