MCPcopy Create free account
hub / github.com/davisking/dlib / setup

Method setup

dlib/cuda/tensor_tools.h:1328–1344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected