(self, file_path)
.

        Parameters
        ----------
        file : file is an object of class h5py.File
.
.
def __init__(self, file_path):
        """.

        Parameters
        ----------
        file : file is an object of class h5py.File
        """
        self.file_path = file_path
        h5_file = h5py.File(file_path)
        self.length = h5_file["X"].shape[0]
def __init__ ( self , file_path ) : self . file_path = file_path h5_file = h5py . File ( file_path ) self . length = h5_file [ "X" ] . shape [ 0 ]