Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TabbyML/tabby
/ numpy
Method
numpy
python/ctranslate2/specs/model_spec.py:649–650 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
647
648
@abc.abstractmethod
649
def
numpy(self) -> np.ndarray:
650
raise
NotImplementedError()
651
652
def
equal(self, other) -> bool:
653
return
type(self) is type(other) and self._equal(other)
Callers
15
test_transformers_encoder
Function · 0.45
_to_numpy
Function · 0.45
_check_generator_logits
Function · 0.45
test_transformers_lm_forward
Method · 0.45
test_transformers_wav2vec2
Method · 0.45
test_layer_spec_validate
Function · 0.45
test_int8_quantization
Function · 0.45
test_fp16_weights
Function · 0.45
smooth_activation
Function · 0.45
set_layer_norm
Function · 0.45
set_linear
Function · 0.45
set_embeddings
Function · 0.45
Calls
no outgoing calls
Tested by
8
test_transformers_encoder
Function · 0.36
_to_numpy
Function · 0.36
_check_generator_logits
Function · 0.36
test_transformers_lm_forward
Method · 0.36
test_transformers_wav2vec2
Method · 0.36
test_layer_spec_validate
Function · 0.36
test_int8_quantization
Function · 0.36
test_fp16_weights
Function · 0.36