Commit 928dfde3 authored by Adam Procter's avatar Adam Procter Committed by Scott Cyphers

A few fixes (#3250)

parent 59b61563
......@@ -17,6 +17,11 @@
// This collection contains one entry for each fused op.
//
#ifndef NGRAPH_OP
#warning "NGRAPH_OP not defined"
#define NGRAPH_OP(x, y)
#endif
NGRAPH_OP(Clamp, ngraph::op)
NGRAPH_OP(ConvolutionBias, ngraph::op)
NGRAPH_OP(ConvolutionBiasAdd, ngraph::op)
......
......@@ -46,7 +46,7 @@
// It's that easy. You can use this for fun and profit.
#ifndef NGRAPH_OP
#error "NGRAPH_OP not defined"
#warning "NGRAPH_OP not defined"
#define NGRAPH_OP(x, y)
#endif
......
......@@ -49,7 +49,7 @@ namespace ngraph
static_cast<ElementType*>(output), out_dims);
Eigen::array<Eigen::Index, Rank> in_dims, concat_pos;
concat_pos.fill(0);
concat_pos.fill(static_cast<Eigen::Index>(0));
for (int i = 0; i < input_shapes.size(); i++)
{
......
......@@ -18,6 +18,7 @@
#include <cmath>
#include <iostream>
#include <limits>
#include <memory>
#include <string>
#include <vector>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment