| 146 | } |
| 147 | |
| 148 | int3 MaxUnpooling::GetGridSize() const { |
| 149 | const int grid_x = dst_[0]->Width(); |
| 150 | const int grid_y = dst_[0]->Height(); |
| 151 | const int grid_z = dst_[0]->Depth(); |
| 152 | return int3(grid_x, grid_y, grid_z); |
| 153 | } |
| 154 | |
| 155 | Status MaxUnpooling::Tune(const TuningParameters& params) { |
| 156 | RETURN_IF_ERROR(BindArguments()); |