#NEWLINE# @ property #NEWLINE# def num_examples( self ) : #NEWLINE# #INDENT# 'The number of examples this subset spans.' #NEWLINE# if self . is_list : #NEWLINE# #INDENT# return len ( self . list_or_slice ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( start , stop , step ) = self . slice_to_numerical_args ( self . list_or_slice , self . original_num_examples ) #NEWLINE# return ( stop - start )