Skip to content

Commit dc02ea1

Browse files
committed
remove commented out code
1 parent 0d609d0 commit dc02ea1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fastembed/text/pooled_embedding.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ def _get_worker_class(cls) -> Type[OnnxTextEmbeddingWorker]:
9898
def mean_pooling(
9999
cls, model_output: NumpyArray, attention_mask: NDArray[np.int64]
100100
) -> NumpyArray:
101-
# token_embeddings = model_output.astype(np.float32)
102-
# attention_mask = attention_mask.astype(np.float32)
103101
return mean_pooling(model_output, attention_mask)
104102

105103
@classmethod

0 commit comments

Comments
 (0)