Optimized the VideoSparseCoding for memory useage

12 jobs for rebase_branch in 24 minutes and 3 seconds (queued for 2 minutes and 50 seconds)
Status Job ID Name Coverage
  Build
passed #95323
conda-linux
build_linux_27

00:06:30

passed #95324
conda-linux
build_linux_35

00:05:47

passed #95325
conda-linux
build_linux_36

00:06:02

passed #95326
conda-macosx
build_macosx_27

00:05:23

passed #95327
conda-macosx
build_macosx_35

00:04:59

passed #95328
conda-macosx
build_macosx_36

00:04:48

 
  Test
passed #95329
conda-linux
test_linux_27

00:04:51

40.0%
passed #95330
conda-linux
test_linux_35

00:04:54

40.0%
passed #95331
conda-linux
test_linux_36

00:03:44

40.0%
passed #95332
conda-macosx
test_macosx_27

00:03:54

40.0%
passed #95333
conda-macosx
test_macosx_35

00:04:27

40.0%
passed #95334
conda-macosx
test_macosx_36

00:04:17

40.0%