Skip to content

RNN Part update to python 3.x and tensorflow 1.x #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

howdark
Copy link

@howdark howdark commented May 10, 2017

[Python print 함수 변경]
print ~~~ → print (~~~)

[TF API 변경]

  1. tf.nn.rnn_cell.BasicRNNCell → tf.contrib.rnn.BasicRNNCell
  2. tf.nn.rnn_cell.DropoutWrapper → tf.contrib.rnn.DropoutWrapper
  3. tf.nn.rnn_cell.MultiRNNCell → tf.contrib.rnn.MultiRNNCell
  4. tf.nn.sparse_softmax_cross_entropy_with_logits(logits, labels) →
    tf.nn.sparse_softmax_cross_entropy_with_logits(labels, logits)

[TF MultiRNNCell 적용 방식 변경사항]
Cell을 재사용할 수 없음
각 layer 별로 cell을 새로 선언해줘야 에러없이 구동됨
→ Cell 선언하는 함수를 별도 선언하여 layer를 쌓음

howdark added 2 commits May 9, 2017 23:51
Update to syntax of python 3.x and tensorflow 1.x.
@golbin
Copy link
Owner

golbin commented May 14, 2017

안그래도 변경하고 있었는데 감사합니다!

@golbin
Copy link
Owner

golbin commented May 19, 2017

예제 구성이 변경되어 클로즈하겠습니다. 패치 정말 감사합니다. (_ _)(^ ^)

@golbin golbin closed this May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants