Fix misspelling of integer (#2554)
Just noticed this while reading through the code; obviously not urgent but thought I'd submit a PR just in case :-)
BUG=typo
diff --git a/tensorflow/lite/micro/kernels/testdata/lstm_test_data_utils.py b/tensorflow/lite/micro/kernels/testdata/lstm_test_data_utils.py
index 345b143..142a58c 100644
--- a/tensorflow/lite/micro/kernels/testdata/lstm_test_data_utils.py
+++ b/tensorflow/lite/micro/kernels/testdata/lstm_test_data_utils.py
@@ -92,14 +92,14 @@
def quantized_sigmoid(input, input_scale, output_scale, num_bits=16):
- """Sigmoid (interger)"""
+ """Sigmoid (integer)"""
float_input = input * input_scale
float_result = sigmoid(float_input)
return quantize_data(float_result, output_scale, bit_width=num_bits)
def quantized_tanh(input, input_scale, output_scale, num_bits=16):
- """Tanh (interger)"""
+ """Tanh (integer)"""
float_input = input * input_scale
float_result = np.tanh(float_input)
return quantize_data(float_result, output_scale, bit_width=num_bits)