Solved by Albert_Christianto in post #4 
              
              
                It is a tensor (CPULongType). 
Edit: 
A single tensor of an tensor output (*model_outputs *). 
model_outputs have dimensions [batch x num_detection x 15]. 
I want to convert it into int. 
I sensed a GCC version problem. 
I have solved the problem. In GCC we can not do this 
current_char = model_outp…