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

Function affine_transform

dlib/cuda/tensor_tools.cpp:472–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470// ----------------------------------------------------------------------------------------
471
472 void affine_transform(
473 tensor& dest,
474 const tensor& src,
475 const float A,
476 const float B
477 )
478 {
479 IF_DLIB_USE_CUDA(
480 cuda::affine_transform(dest,src,A,B);
481 )
482
483 IF_DLIB_NOT_USE_CUDA(
484 cpu::affine_transform(dest,src,A,B);
485 )
486 }
487
488 void affine_transform(
489 tensor& dest,

Callers

nothing calls this directly

Calls 2

affine_transform_rangeFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected