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

Method __init__

utils/text_encoder.py:39–40  ·  view source on GitHub ↗
(self, num_reserved_ids=NUM_RESERVED_TOKENS)

Source from the content-addressed store, hash-verified

37 """Base class for converting from ints to/from human readable strings."""
38
39 def __init__(self, num_reserved_ids=NUM_RESERVED_TOKENS):
40 self._num_reserved_ids = num_reserved_ids
41
42 @property
43 def num_reserved_ids(self):

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected