From 892860e84e161457745ec0130f31c4313451b819 Mon Sep 17 00:00:00 2001
From: Howard Stark <howard@getcoffee.io>
Date: Mon, 19 Feb 2018 06:04:01 +0000
Subject: [PATCH] Added CPU Optical Flow

---
 src/region_layer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/region_layer.c b/src/region_layer.c
index f7eaef6..d48e8d0 100644
--- a/src/region_layer.c
+++ b/src/region_layer.c
@@ -170,7 +170,7 @@
         for (b = 0; b < l.batch; ++b){
             for(i = 0; i < l.h*l.w*l.n; ++i){
                 int index = size*i + b*l.outputs;
-                softmax(l.output + index + 5, l.classes, 1, l.output + index + 5);
+                softmax(l.output + index + 5, l.classes, 1, l.output + index + 5, 1);
             }
         }
     }

--
Gitblit v1.10.0