MCPcopy
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_amrsMethod · 0.80
_make_causal_maskFunction · 0.80
_expand_maskFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
build_modelMethod · 0.80
initializer_1dFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected