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

Function scale_channels

dlib/cuda/tensor_tools.cpp:422–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420 }
421
422 void scale_channels (
423 bool add_to,
424 tensor& dest,
425 const tensor& src,
426 const tensor& scales
427 )
428 {
429 IF_DLIB_USE_CUDA(
430 cuda::scale_channels(add_to, dest, src, scales);
431 )
432
433 IF_DLIB_NOT_USE_CUDA(
434 cpu::scale_channels(add_to, dest, src, scales);
435 )
436 }
437
438 void multiply_conv (
439 bool add_to,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected