Unverified Commit 2a2525f7 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Merge pull request #302 from NervanaSystems/bob/gcc

fix tuple unit test crash when using gcc
parents 55502f91 e9f71592
......@@ -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