Skip to main content

Calculate similarity with embedding

Project description

Keras Embedding Similarity

Travis Coverage Version Downloads License


Compute the similarity between the outputs and the embeddings.


pip install keras-embed-sim


import keras
from keras_embed_sim import EmbeddingRet, EmbeddingSim

input_layer = keras.layers.Input(shape=(None,), name='Input')

embed, embed_weights = EmbeddingRet(

output_layer = EmbeddingSim()([embed, embed_weights])

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for keras-embed-sim, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size keras-embed-sim-0.9.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page