Tensor-Aware Energy Accounting