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

Function threshold

dlib/cuda/tensor_tools.cpp:896–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894// ----------------------------------------------------------------------------------------
895
896 void threshold (
897 tensor& data,
898 float thresh
899 )
900 {
901 IF_DLIB_USE_CUDA(
902 cuda::threshold(data,thresh);
903 )
904
905 IF_DLIB_NOT_USE_CUDA(
906 cpu::threshold(data,thresh);
907 )
908 }
909
910 void dot (
911 const tensor& a,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected