allenai / allenai/bilm-tf

How it works?

Open
#223 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
447
PR merge metrics
No merged PRs in 30d

Description

https://github.com/allenai/bilm-tf/blob/7cffee2b0986be51f5e2a747244836e1047657f4/bilm/model.py#L547

lstm_cell.state_size is an Integer or TensorShape, what does "for dim in lstm_cell.state_size" mean? And I don't know how "state_update_op = tf.assign(init_states[i], new_state)" works, since you assign init_states using "tf.zeros([self._max_batch_size, dim]" in L548.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.