[wip] tensor operator