| 1326 | |
| 1327 | |
| 1328 | void setup( |
| 1329 | const tensor& data, |
| 1330 | const tensor& filters, |
| 1331 | int stride_y, |
| 1332 | int stride_x, |
| 1333 | int padding_y, |
| 1334 | int padding_x |
| 1335 | ) |
| 1336 | { |
| 1337 | IF_DLIB_USE_CUDA( |
| 1338 | cuda_impl.setup(data,filters,stride_y,stride_x,padding_y,padding_x); |
| 1339 | ) |
| 1340 | |
| 1341 | IF_DLIB_NOT_USE_CUDA( |
| 1342 | cpu_impl.setup(data,filters,stride_y,stride_x,padding_y,padding_x); |
| 1343 | ) |
| 1344 | } |
| 1345 | /*! |
| 1346 | requires |
| 1347 | - filters.k() == data.k() |
nothing calls this directly
no outgoing calls
no test coverage detected