Open danilojsl opened 3 years ago
tf.nn.embedding_lookup
is a layer of python over the top of a gather call, which we have in the core ops. There's a bit of complexity there as the thing it looks up in could be partitioned and I've not traced that through yet. We don't have a wrapper around it at the moment, if you want to work on one that would be great.
Hey @danilojsl , I know this issue is pretty old. But is there any appropriate feature similar to tf.nn.embedding_lookup in Java bindings yet? If so, could you let me know the function/operation name?
We have not added a wrapper around the gather ops yet.
I am working with tensorflow-java version 0.2.0 trying to find some feature similar to
tf.nn.embedding_lookup
.I found operations
LookupTableInsert
andLookupTableFind
. Are any of these similar totf.nn.embedding_lookup
? In addition, these operations require atableHandle
argument which I don't know how to fill in.Could you please guide me on how to use these operations?
Thanks