Commit ·
c92415c
1
Parent(s): 9a2f79e
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ print(input_op, output_op)
|
|
| 38 |
x = restored_graph.get_tensor_by_name(input_op + ':0')
|
| 39 |
y = restored_graph.get_tensor_by_name(output_op + ':0')
|
| 40 |
|
| 41 |
-
preprocessor = build_preprocessor("
|
| 42 |
py_func = tf.numpy_function(preprocessor, [x], [tf.int32, tf.int32, tf.int32], name='preprocessor')
|
| 43 |
|
| 44 |
py_func = tf.numpy_function(preprocessor, [x], [tf.int32, tf.int32, tf.int32])
|
|
|
|
| 38 |
x = restored_graph.get_tensor_by_name(input_op + ':0')
|
| 39 |
y = restored_graph.get_tensor_by_name(output_op + ':0')
|
| 40 |
|
| 41 |
+
preprocessor = build_preprocessor("vocab.txt", 64)
|
| 42 |
py_func = tf.numpy_function(preprocessor, [x], [tf.int32, tf.int32, tf.int32], name='preprocessor')
|
| 43 |
|
| 44 |
py_func = tf.numpy_function(preprocessor, [x], [tf.int32, tf.int32, tf.int32])
|