FrankWork / conv_relation

TensorFlow implementation of Relation Classification via Convolutional Deep Neural Network
94 stars 29 forks source link

Why is relation id included in features ? #13

Closed Hadjerkhd closed 5 years ago

Hadjerkhd commented 5 years ago

Hello, I couldn't understand why is rid included when building the tf.train.SequenceExample(), in the following lines : rid = raw_example.label ex.context.feature['rid'].int64_list.value.append(rid) Does it mean the rid is considered as a feature to train the cnn on ? Thanks in advance