TensorDB: In-Database Tensor Manipulation with Tensor-Relational Query Plans