Add tensor command