keras-adaptive-softmax:自适应嵌入和softmax

时间:2021-05-29 06:06:45
【文件属性】:
文件名称:keras-adaptive-softmax:自适应嵌入和softmax
文件大小:27KB
文件格式:ZIP
更新时间:2021-05-29 06:06:45
keras adaptive softmax Python Keras 自适应 Softmax [| ] 安装 pip install keras-adaptive-softmax 用法 一般来说, AdaptiveEmbedding和AdaptiveSoftmax应该一起使用。 AdaptiveEmbedding提供可变长度的嵌入,而AdaptiveSoftmax计算输出和生成的嵌入之间的相似性。 import keras from keras_adaptive_softmax import AdaptiveEmbedding , AdaptiveSoftmax input_layer = keras . layers . Input ( shape = ( None ,)) embed_layer = AdaptiveEmbedding ( input_dim = 30 , output_dim = 32 , cu
【文件预览】:
keras-adaptive-softmax-master
----MANIFEST.in(88B)
----.github()
--------stale.yml(36B)
--------ISSUE_TEMPLATE()
----requirements-dev.txt(83B)
----README.zh-CN.md(3KB)
----requirements.txt(12B)
----publish.sh(83B)
----.travis.yml(897B)
----LICENSE(1KB)
----keras_adaptive_softmax()
--------softmax.py(11KB)
--------backend.py(890B)
--------__init__.py(71B)
--------embedding.py(10KB)
----test.sh(235B)
----setup.py(1KB)
----README.md(2KB)
----tests()
--------__init__.py(0B)
--------test_embeddings.py(9KB)
--------test_softmax.py(30KB)
----.gitignore(1KB)
----CHANGELOG.md(65B)

网友评论