mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-11 03:20:20 +08:00
[Model] [Part 1] Refactor PaddleClas module (#508)
* Split PaddleClas Module refactor * Split PaddleClas Module refactor * fix bug
This commit is contained in:
@@ -131,6 +131,7 @@ void FDTensor::Resize(const std::vector<int64_t>& new_shape,
|
||||
const FDDataType& data_type,
|
||||
const std::string& tensor_name,
|
||||
const Device& new_device) {
|
||||
external_data_ptr = nullptr;
|
||||
name = tensor_name;
|
||||
device = new_device;
|
||||
dtype = data_type;
|
||||
|
Reference in New Issue
Block a user