[datarepo] Add function to read and write sparse tensors
- Add writing sparse tensors to datareposink
To add memory to gstbuffer by number of sparse tensors when reading a sample in datareposrc,
sample_offset, tensor_size, and tensor_count fields are added to the JSON file
- Add reading sparse tensors to datareposrc
If the tensor format of JSON file is sparse, read a sample using the JSON meta information
(sample_offset, tensor_size, tensor_count) and append memory to GstBuffer as many as the number
of sparse tensors.
- Add unit test
- bug fix about shuffle index
Signed-off-by: hyunil park <hyunil46.park@samsung.com>