Introduce GatherNdGpuCompatible so we can have an option for compilers to ignore out-of-bound indices like GPU does.
Introduce GatherNdGpuCompatible so we can have an option for compilers to ignore out-of-bound indices like GPU does.
