Open simhl1123 opened 1 year ago
I getting the same error, code is below
21 embeddings = tf.get_variable("embeddings", dtype=tf.float32, initializer=tf.random_normal(shape=(len(vocab), 8)))
22 encoded_strings = tf.nn.embedding_lookup(embeddings, encoded_text)
23
AttributeError: module 'tensorflow' has no attribute 'get_variable'
I am getting same error AttributeError: module 'tensorflow' has no attribute 'get_variable'
module 'tensorflow' has no attribute 'get_variable'