ai algorithms and hardware accelerators