Skip to content

Commit

Permalink
support CopyToCpu int64_t (#5832)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupengyang authored Apr 6, 2021
1 parent c9e2d20 commit 1cc4dc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lite/api/paddle_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ template void Tensor::CopyFromCpu<int8_t, TargetType::kMLU>(const int8_t *);

template void Tensor::CopyToCpu(float *) const;
template void Tensor::CopyToCpu(int *) const;
template void Tensor::CopyToCpu(int64_t *) const;
template void Tensor::CopyToCpu(int8_t *) const;
template void Tensor::CopyToCpu(uint8_t *) const;

Expand Down

0 comments on commit 1cc4dc1

Please sign in to comment.