Calc number of samples only if needed by model

  • Calculate number of samples only if needed (check with model build)
  • replace len calculation of get_number_of_samples with __len__() method
Edited by Ghost User