As long as you choose peaceful shrimp you will be fine. I have recently reared a batch of tetra from when they were 5mm in body length (1cm total length) in with shrimp. They were all fine.
The shrimp I had with them were bee shrimp and cherry shrimp.
Long arm shrimp WILL catch and eat baby fish, so watch out for these varieties. Fan shrimp will not harm the babies intentionally but are demanding on feeding and if a fry were to get caught intheir fans they may get ripped up. .