CUV
0.9.201304091348
|
Functions | |
template<class __value_type , class __memory_space_type , class __memory_layout_type > | |
void | cuv::libs::kernels::pairwise_distance_l2 (tensor< __value_type, __memory_space_type, __memory_layout_type > &result, const tensor< __value_type, __memory_space_type, __memory_layout_type > &A, const tensor< __value_type, __memory_space_type, __memory_layout_type > &B, const bool &squared=false) |
determine pairwise distances between rows in argument matrices. | |
template<class __value_type , class __memory_space_type , class __memory_layout_type > | |
void | cuv::libs::kernels::pairwise_distance_custom (tensor< __value_type, __memory_space_type, __memory_layout_type > &result, const tensor< __value_type, __memory_space_type, __memory_layout_type > &A, const tensor< __value_type, __memory_space_type, __memory_layout_type > &B) |
more flexible implementation of | |
template<class __value_type , class __memory_space_type , class __memory_layout_type > | |
tensor< __value_type, __memory_space_type, __memory_layout_type > | cuv::libs::kernels::pairwise_distance_l2 (const tensor< __value_type, __memory_space_type, __memory_layout_type > &A, const tensor< __value_type, __memory_space_type, __memory_layout_type > &B, const bool &squared=false) |
determine pairwise distances between rows in argument matrices. |
void cuv::libs::kernels::pairwise_distance_custom | ( | tensor< __value_type, __memory_space_type, __memory_layout_type > & | result, |
const tensor< __value_type, __memory_space_type, __memory_layout_type > & | A, | ||
const tensor< __value_type, __memory_space_type, __memory_layout_type > & | B | ||
) |
more flexible implementation of
result | distance matrix (n_rows_A times n_rows_B) |
A | first matrix (n_rows_A times K) |
B | second matrix (n_rows_B times K) |
void cuv::libs::kernels::pairwise_distance_l2 | ( | tensor< __value_type, __memory_space_type, __memory_layout_type > & | result, |
const tensor< __value_type, __memory_space_type, __memory_layout_type > & | A, | ||
const tensor< __value_type, __memory_space_type, __memory_layout_type > & | B, | ||
const bool & | squared = false |
||
) |
determine pairwise distances between rows in argument matrices.
result | distance matrix (n_rows_A times n_rows_B) |
A | first matrix (n_rows_A times K) |
B | second matrix (n_rows_B times K) |
squared | if true, do not determine square root of the distance |
tensor<__value_type,__memory_space_type,__memory_layout_type> cuv::libs::kernels::pairwise_distance_l2 | ( | const tensor< __value_type, __memory_space_type, __memory_layout_type > & | A, |
const tensor< __value_type, __memory_space_type, __memory_layout_type > & | B, | ||
const bool & | squared = false |
||
) |
determine pairwise distances between rows in argument matrices.
A | first matrix (n_rows_A times K) |
B | second matrix (n_rows_B times K) |
squared | if true, do not determine square root of the distance |
Definition at line 47 of file kernels.hpp.