Skip to content

Commit

Permalink
Update cpu_da.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RParedesPalacios authored Nov 26, 2019
1 parent b58232f commit fbaaf81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hardware/cpu/cpu_da.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@
*/



#include <iostream>
#include <utility>
#include <cmath>

#include "cpu_hw.h"
#include "../../random.h"

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

void cpu_single_shift(int b, Tensor *A, Tensor *B, vector<int> shift, int mode, float constant){
for(int c=0; c<B->shape[1]; c++) {
for(int Bi=0; Bi<B->shape[2];Bi++) {
Expand Down

0 comments on commit fbaaf81

Please sign in to comment.