fix typo (#605)
This commit is contained in:
parent
67370c8948
commit
108a783a77
|
@ -14,7 +14,7 @@
|
|||
|
||||
'''
|
||||
This is a sample code to demonstrate how to use the TensorFlow custom op with
|
||||
FasterTransformer library in decoder.
|
||||
FasterTransformer library in encoder.
|
||||
|
||||
This sample code builds a BERT transformer model by TensorFlow and TensorFlow
|
||||
custom op. Then compare the maximum difference of them to verify the correctness
|
||||
|
|
|
@ -105,5 +105,5 @@ if __name__ == "__main__":
|
|||
tf_time = time_test(sess, tf_encoder_result, ite)
|
||||
op_time = time_test(sess, op_encoder_result, ite)
|
||||
|
||||
print("[INFO] TF decoder time costs: {} ms".format(tf_time))
|
||||
print("[INFO] OP decoder time costs: {} ms".format(op_time))
|
||||
print("[INFO] TF encoder time costs: {} ms".format(tf_time))
|
||||
print("[INFO] OP encoder time costs: {} ms".format(op_time))
|
||||
|
|
Loading…
Reference in a new issue