mv_machine_learning: bug fix to tensor buffer allocation