return the entry of output(gradInput) table if it has only one entry.