Commit 2946e34e authored by Scott Thornton's avatar Scott Thornton
Browse files

Added return type needed for MacOSX

parent 7d972d2b
......@@ -592,7 +592,7 @@ struct onnx_parser
std::vector<std::size_t> dims;
auto&& tensor_dims = t.tensor_type().shape().dim();
std::transform(
tensor_dims.begin(), tensor_dims.end(), std::back_inserter(dims), [](auto&& d) {
tensor_dims.begin(), tensor_dims.end(), std::back_inserter(dims), [](auto&& d) -> std::size_t {
if(not d.has_dim_value())
{
long default_batch_size = 1; // FIXME
......
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