text_plain_output_1.png
import tensorflow_hub as hub

module_url = 'https://tfhub.dev/google/universal-sentence-encoder/4'
model = hub.load(module_url)
print('module %s loaded' % module_url)
def embed(input):
    return model(input)