tf.nn.embedding_lookup 函數有什麼作用?

| | | |
tf.nn.embedding_lookup(params, ids, partition_strategy="mod", name=None) 

我無法理解這個函數的職責。它像查找表嗎?即返回每個id對應的參數(在ids中)?

比如在skip-gram模型中如果我們使用tf.nn.embedding_lookup( embeddings, train_inputs),然後為每個 train_input 找到對應的嵌入?

我們希望本文能幫助您解決問題。 除了 tf.nn.embedding_lookup 函數有什麼作用?,查看其他與 __del__ 相關的主題。

想在 Python 中出類拔萃? 查看我們對 最佳 Python 在線課程 2022的評論。 如果您對數據科學感興趣,請查看如何學習 R 編程

順便說一句,此材料也有其他語言版本:



Anna Sikorski

Vigrinia | 2022-11-28

也许有其他的答案?什么是tf.nn.embedding_lookup 函數有什麼作用??到底是什么意思?. 明天會回來反饋

Walter OConnell

Shanghai | 2022-11-28

简单地说,很清楚。谢谢你的分享。tf.nn.embedding_lookup 函數有什麼作用?和其他问题的find一直是我的弱点😁。. 我只希望不再出現

Marie Lehnman

Berlin | 2022-11-28

谢谢你的解释! 我被tf.nn.embedding_lookup 函數有什麼作用?卡住了几个小时。了几个小时,最后终于完成了 🤗. 昨天檢查了,有效!

Shop

Learn programming in R: courses

$

Best Python online courses for 2022

$

Best laptop for Fortnite

$

Best laptop for Excel

$

Best laptop for Solidworks

$

Best laptop for Roblox

$

Best computer for crypto mining

$

Best laptop for Sims 4

$

Latest questions

NUMPYNUMPY

Common xlabel/ylabel for matplotlib subplots

12 answers

NUMPYNUMPY

How to specify multiple return types using type-hints

12 answers

NUMPYNUMPY

Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?

12 answers

NUMPYNUMPY

Flake8: Ignore specific warning for entire file

12 answers

NUMPYNUMPY

glob exclude pattern

12 answers

NUMPYNUMPY

How to avoid HTTP error 429 (Too Many Requests) python

12 answers

NUMPYNUMPY

Python CSV error: line contains NULL byte

12 answers

NUMPYNUMPY

csv.Error: iterator should return strings, not bytes

12 answers

News


Wiki

Python | How to copy data from one Excel sheet to another

Common xlabel/ylabel for matplotlib subplots

Check if one list is a subset of another in Python

sin

How to specify multiple return types using type-hints

exp

Printing words vertically in Python

exp

Python Extract words from a given string

Cyclic redundancy check in Python

Finding mean, median, mode in Python without libraries

cos

Python add suffix / add prefix to strings in a list

Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?

Python - Move item to the end of the list

Python - Print list vertically