Skip to content

Commit

Permalink
fix merge develop conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
MingMingShangTian committed Jan 20, 2022
1 parent 98e3ef3 commit 70c7d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/pten/core/kernel_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class KernelContext {
std::vector<TensorType> MoveInputsBetween(size_t start, size_t end) {
std::vector<TensorType> v;
for (size_t i = start; i < end; ++i) {
auto t = std::dynamic_pointer_cast<TensorType>(inputs_.at(i));
auto t = static_cast<const TensorType*>(inputs_.at(i));
v.emplace_back(*t);
inputs_.at(i) = nullptr;
}
Expand Down

0 comments on commit 70c7d9b

Please sign in to comment.