We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c16c32e commit efcec06Copy full SHA for efcec06
paddle/fluid/operators/tile_op_npu.cc
@@ -47,11 +47,10 @@ class TileNPUKernel : public framework::OpKernel<T> {
47
"must be less than or equal to %d, but the value received is %d.",
48
MAX_RANK_SUPPORTED, repeat_times_size));
49
rank = std::max(rank, repeat_times_size);
50
- switch (rank) { REP_TILE_TEMPLATE(MAX_RANK_SUPPORTED) }
+ Tile(context);
51
}
52
53
protected:
54
- template <int Rank>
55
void Tile(const framework::ExecutionContext& context) const {
56
auto* in0 = context.Input<framework::Tensor>("X");
57
0 commit comments