Avoid some repeated type checking, speed up `_synchronize_from_backing_array`
Avoid some repeated type checking, speed up `_synchronize_from_backing_array`

PiperOrigin-RevId: 243967627

deepmind/dm_control