"docs/git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "a9ce2bcb3c926e676481db2bdfba218067f2db35"
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 ...@@ -592,7 +592,7 @@ struct onnx_parser
std::vector<std::size_t> dims; std::vector<std::size_t> dims;
auto&& tensor_dims = t.tensor_type().shape().dim(); auto&& tensor_dims = t.tensor_type().shape().dim();
std::transform( 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()) if(not d.has_dim_value())
{ {
long default_batch_size = 1; // FIXME 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