MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / __len__

Method __len__

modules/parallel_wavegan/utils/utils.py:159–161  ·  view source on GitHub ↗

Return the length of the scp file.

(self)

Source from the content-addressed store, hash-verified

157 return read_hdf5(p, self.default_hdf5_path)
158
159 def __len__(self):
160 """Return the length of the scp file."""
161 return len(self.data)
162
163 def __iter__(self):
164 """Return the iterator of the scp file."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected