AI for communications and sensing in RF environments