# NOT RUN {
with(
tensorflow::tf$variable_scope("examples",
reuse = tensorflow::tf$AUTO_REUSE
),
ids <- tensorflow::tf$get_variable("x",
dtype = "int32",
shape = tensorflow::shape(10, 20)
)
)
embedding_lookup(ids, vocab_size = 100, word_embedding_name = "some_name")
# }
Run the code above in your browser using DataLab