0ff700abccc71ceb0794ddc8e77945e178f10599,examples/babi_memnn.py,,,#,101
Before Change
print("Vectorizing the word sequences...")
word_idx = dict((c, i + 1) for i, c in enumerate(vocab))
inputs_train, queries_train, answers_train = vectorize_stories(train_stories,
word_idx,
story_maxlen,
query_maxlen)
inputs_test, queries_test, answers_test = vectorize_stories(test_stories,
word_idx,
story_maxlen,
query_maxlen)
print("-")
print("inputs: integer tensor of shape (samples, max_length)")
print("inputs_train shape:", inputs_train.shape)
After Change
word_idx = dict((c, i + 1) for i, c in enumerate(vocab))
inputs_train, queries_train, answers_train = vectorize_stories(train_stories)
inputs_test, queries_test, answers_test = vectorize_stories(test_stories)
print("-")
print("inputs: integer tensor of shape (samples, max_length)")
print("inputs_train shape:", inputs_train.shape)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 19
Instances
Project Name: keras-team/keras
Commit Name: 0ff700abccc71ceb0794ddc8e77945e178f10599
Time: 2017-10-20
Author: ozabluda@gmail.com
File Name: examples/babi_memnn.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: 1dc1d25a580f888f02c9449535c16b2d8dbb1549
Time: 2015-11-09
Author: francois.chollet@gmail.com
File Name: examples/babi_rnn.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: d9596ae68d693b45a087321b615ee517415c1cb5
Time: 2015-11-09
Author: francois.chollet@gmail.com
File Name: examples/babi_rnn.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: 0ff700abccc71ceb0794ddc8e77945e178f10599
Time: 2017-10-20
Author: ozabluda@gmail.com
File Name: examples/babi_memnn.py
Class Name:
Method Name: