提交 b6de52c4 编写于 作者: H hedaoyuan

Bug fix

上级 3b65bc7a
...@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. */ limitations under the License. */
#include "ConvFunc.h" #include "ConvOp.h"
namespace paddle { namespace paddle {
...@@ -102,10 +102,10 @@ public: ...@@ -102,10 +102,10 @@ public:
size_t outputHeight = outputs[0].shape()[2]; size_t outputHeight = outputs[0].shape()[2];
size_t outputWidth = outputs[0].shape()[3]; size_t outputWidth = outputs[0].shape()[3];
float* inputData = inputs[0].data<float>(); real* inputData = inputs[0].data<real>();
float* filterData = inputs[1].data<float>(); real* filterData = inputs[1].data<real>();
float* outputData = outputs[0].data<float>(); real* outputData = outputs[0].data<real>();
NaiveConvFunctor<float> conv; NaiveConvFunctor<real> conv;
conv(inputData, conv(inputData,
batchSize, batchSize,
inputChannels, inputChannels,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册