Commit f1ca9d9b authored by Robert Kimball's avatar Robert Kimball

fix tuple unit test crash when using gcc

parent 094f2fa9
......@@ -57,7 +57,7 @@ nervana_aeon.egg-info/
*.swo
# setup.py intermediate files
build/
build*/
# makeenv and test intermediate files
tmp/
......
......@@ -79,7 +79,8 @@ void runtime::interpreter::INT_CallFrame::call(
{
// The output tensor is not in the tensor map so create a new tensor
const Shape& shape = output.get_tensor_view_type()->get_shape();
element::Type element_type = output.get_tensor_view_type()->get_element_type();
const element::Type& element_type =
output.get_tensor_view_type()->get_element_type();
string tensor_name = output.get_tensor().get_name();
itv = make_shared<runtime::interpreter::INT_TensorView>(
element_type, shape, tensor_name);
......
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