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

Function resize_bilinear_gradient

dlib/cuda/tensor_tools.cpp:1433–1449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1431 }
1432
1433 void resize_bilinear_gradient (
1434 tensor& grad,
1435 long grad_row_stride,
1436 long grad_channel_stride,
1437 const tensor& gradient_input,
1438 long gradient_input_row_stride,
1439 long gradient_input_channel_stride
1440 )
1441 {
1442 IF_DLIB_USE_CUDA(
1443 cuda::resize_bilinear_gradient(grad,grad_row_stride,grad_channel_stride, gradient_input,gradient_input_row_stride,gradient_input_channel_stride);
1444 )
1445
1446 IF_DLIB_NOT_USE_CUDA(
1447 cpu::resize_bilinear_gradient(grad,grad_row_stride,grad_channel_stride, gradient_input,gradient_input_row_stride,gradient_input_channel_stride);
1448 )
1449 }
1450
1451// ------------------------------------------------------------------------------------
1452

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected