Intelligent hollow block forming machine