Add function for hand-specified tensor