class_docstr: Implements lit.Model interface for nearest neighbors.
  
  Returns the same output for every input.
class_docstr_tok: ["Implements","lit.Model","interface","for","nearest","neighbors",".","Returns","the","same","output","for","every","input","."]
code: def output_spec(self):
      return {
          "probas": lit_types.MulticlassPreds(
              parent="label", vocab=["0", "1"], null_idx=0
          ),
          "input_embs": lit_types.TokenEmbeddings(align="tokens"),
      }
  
file_path: lit/lit_nlp/components/nearest_neighbors_test.py
imports: from absl.testing import absltest
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.components import nearest_neighbors
  from lit_nlp.lib import caching
  from lit_nlp.lib import testing_utils
  import numpy
label_desc: Use image node_id 3 for calling the TestModelNearestNeighbors obj's underlying member method code with example usage: obj.output_spec() and returns: dict