toDisplayTensor : input is only copied when necessary