MCPcopy Create free account
hub / github.com/TabbyML/tabby / equal

Method equal

python/ctranslate2/specs/model_spec.py:652–653  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

650 raise NotImplementedError()
651
652 def equal(self, other) -> bool:
653 return type(self) is type(other) and self._equal(other)
654
655 @abc.abstractmethod
656 def num_bytes(self) -> int:

Callers 2

_alias_variablesMethod · 0.80
_equalMethod · 0.80

Calls 2

_equalMethod · 0.95
typeFunction · 0.85

Tested by

no test coverage detected