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

Function resize_bilinear

dlib/cuda/tensor_tools.cpp:1415–1431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413// ----------------------------------------------------------------------------------------
1414
1415 void resize_bilinear (
1416 tensor& dest,
1417 long dest_row_stride,
1418 long dest_channel_stride,
1419 const tensor& src,
1420 long src_row_stride,
1421 long src_channel_stride
1422 )
1423 {
1424 IF_DLIB_USE_CUDA(
1425 cuda::resize_bilinear(dest,dest_row_stride,dest_channel_stride, src,src_row_stride,src_channel_stride);
1426 )
1427
1428 IF_DLIB_NOT_USE_CUDA(
1429 cpu::resize_bilinear(dest,dest_row_stride,dest_channel_stride, src,src_row_stride,src_channel_stride);
1430 )
1431 }
1432
1433 void resize_bilinear_gradient (
1434 tensor& grad,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected