forked from davisking/dlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add multm_prev_ layer and enhance gemm() function for PLANE_WISE oper…
…ations (davisking#3020) * Fix Stride Indexing Bugs in `reorg` and `reorg_gradient` Functions (CPU & CUDA) and Add `add_to` Parameter * 'add_to' parameter missing in cuda call reorg_gradient.launch_kernel() * Cleanup: remove using namespace std; (davisking#3016) * remove using namespace std from headers * more std:: * more std:: * more std:: on windows stuff * remove uses of using namespace std::chrono * do not use C++17 features * Add Davis suggestion * revert some more stuff * revert removing include * more std::chrono stuff * fix build error * Adjust comment formatting to be like other dlib comments * Add positional encodings layer to Dlib * Add multm_prev layer and enhance gemm() function for PLANE_WISE operations * Updates * Updates * Resynchronization with tril_ class * Delete .vscode/settings.json Not required for the merging * Remove duplicates * Small improvements to PLANE_WISE in gemm() function * Same improvements for the CPU version * Introducing a new enum for operation modes in tensor computations * Remove a test duplicated call in dnn tests * Remove duplicated declaration * Comment fixed * Fixing the Cuda compilation * Merging with updated softmax_ layer * Fixing header for CPU compilation * Adding a missing cast * Test fixed to use the new operation_mode enum * softmaxm test fixed * Enum test removed * Enum test removed * Fixing indentation * Fixing indentation * Test removed * Move the operation_mode enumeration to its own header * Use operation_mode instead of unsigned long --------- Co-authored-by: Adrià <[email protected]> Co-authored-by: Davis King <[email protected]>
- Loading branch information
1 parent
dfbee6d
commit 230c0b0
Showing
13 changed files
with
979 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.