Unverified Commit 2c41d422 authored by Scott Cyphers's avatar Scott Cyphers Committed by GitHub

Dont let backend, etc. go out of scope (#3245)

parent ac8e22d9
......@@ -98,7 +98,7 @@ TEST(benchmark, concat_32x1x200_axis1_6)
auto result_tv = backend->create_tensor(element::f32, result_shape);
result_tvs.push_back(result_tv);
std::function<void()> cb = [&]() {
std::function<void()> cb = [=]() {
auto handle = backend->compile(f);
handle->call_with_validate({result_tv}, input_vals);
};
......
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