Commit 9b554ea0 authored by 张彦钊's avatar 张彦钊

change test file

parent 56803ce4
......@@ -47,9 +47,9 @@ def input_fn(filenames, batch_size=32, num_epochs=1, perform_shuffle=False):
print('Parsing', filenames)
def _parse_fn(record):
features = {
"y": tf.FixedLenFeature([], tf.float32),
"z": tf.FixedLenFeature([], tf.float32),
"ids": tf.FixedLenFeature([FLAGS.field_size], tf.int64),
"y": tf.VarLenFeature(tf.int64),
"z": tf.VarLenFeature(tf.int64),
"ids": tf.VarLenFeature(tf.int64),
"level2_ids": tf.VarLenFeature(tf.int64)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment