class_docstr: SifVectorizer tests.
class_docstr_tok: ["SifVectorizer","tests","."]
docstr: Check the shape of output matrix.
docstr_tok: ["Check","the","shape","of","output","matrix","."]
code: def test_output_shape(self, keyed_vectors):
      """Check the shape of output matrix."""
      sif = SifVectorizer(keyed_vectors).fit(tokenized_sentences)
      matrix = sif.transform(tokenized_sentences)
      assert matrix.shape == (3, 5)
  
file_path: textvec/tests/test_vectorizers.py
imports: import math
  import pytest
  from scipy.spatial.distance import cosine
  from scipy.sparse.linalg import norm
  from sklearn.model_selection import GridSearchCV
  from sklearn.pipeline import Pipeline
  from sklearn.dummy import DummyClassifier
  from textvec.vectorizers import *
label_desc: Use image node_id 1 for calling the TestSif obj's underlying member method code with example usage: obj.test_output_shape(keyed_vectors) without return types