Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hankcs/HanLP
/ size
Method
size
hanlp/layers/embeddings/word2vec_tf.py:76–78 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
74
75
@property
76
def
size(self):
77
if
self.array_np is not None:
78
return
self.array_np.shape[0]
79
80
@property
81
def
dim(self):
Callers
15
predict_amrs
Method · 0.80
_make_causal_mask
Function · 0.80
_expand_mask
Function · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
build_model
Method · 0.80
initializer_1d
Function · 0.80
forward
Method · 0.80
forward
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected