trying to remove interior logic

This commit is contained in:
Philippe Tillet
2019-07-16 18:47:50 -07:00
parent 5f6dd23fc2
commit ec24e1e7df
5 changed files with 20 additions and 30 deletions

View File

@@ -14,13 +14,13 @@ int main() {
// initialize default compute device
auto context = triton::driver::backend::contexts::get_default();
auto op = triton::dnn::shift::FPROP;
auto op = triton::dnn::shift::BPROP;
// initialization
int32_t R = 3, S = 3;
int32_t B = 128, F = 128;
int32_t B = 16, F = 4096;
int32_t H = 16, W = 16;
int32_t C = 128;
int32_t C = 4096;
// random shifts
std::vector<int32_t> shift_h(C);