| 1561 | // ---------------------------------------------------------------------------------------- |
| 1562 | |
| 1563 | void embeddings( |
| 1564 | resizable_tensor& dest, |
| 1565 | const tensor& src, |
| 1566 | const tensor& embs |
| 1567 | ) |
| 1568 | { |
| 1569 | IF_DLIB_USE_CUDA( |
| 1570 | cuda::embeddings(dest, src, embs); |
| 1571 | ) |
| 1572 | |
| 1573 | IF_DLIB_NOT_USE_CUDA( |
| 1574 | cpu::embeddings(dest, src, embs); |
| 1575 | ) |
| 1576 | } |
| 1577 | |
| 1578 | void embeddings_gradient( |
| 1579 | const tensor& prev, |
nothing calls this directly
no outgoing calls
no test coverage detected