Skip to content

Commit b8c20a9

Browse files
committed
Fix typos of fuction to function
Signed-off-by: UENO M. <[email protected]>
1 parent 7cbba04 commit b8c20a9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tensorflow/core/util/mkl_util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ class MklPrimitiveFactory {
19301930
!port::TestCPUFeature(port::CPUFeature::AVX2));
19311931
}
19321932

1933-
/// Fuction to check whether primitive memory optimization is enabled
1933+
/// function to check whether primitive memory optimization is enabled
19341934
static inline bool IsPrimitiveMemOptEnabled() {
19351935
bool is_primitive_mem_opt_enabled = true;
19361936
TF_CHECK_OK(ReadBoolFromEnvVar("TF_MKL_OPTIMIZE_PRIMITIVE_MEMUSE", true,
@@ -2107,7 +2107,7 @@ class MklReorderPrimitiveFactory : public MklPrimitiveFactory<T> {
21072107
}
21082108
};
21092109

2110-
/// Fuction to find(or create) a reorder from memory pointed by
2110+
/// function to find(or create) a reorder from memory pointed by
21112111
/// from to memory pointed by to, it will created primitive or
21122112
/// get primitive from pool if it is cached.
21132113
/// Returns the primitive.

tensorflow/lite/experimental/micro/riscv32_mcu/debug_log.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
99
See the License for the specific language governing permissions and
1010
limitations under the License.
1111
==============================================================================*/
12-
// TODO(b/121324430): Add test for DebugLog fuctions
12+
// TODO(b/121324430): Add test for DebugLog functions
1313
// TODO(b/121275099): Remove dependency on debug_log once the platform supports
1414
// printf
1515

tensorflow/lite/kernels/internal/quantization_util.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ void FakeQuantizeArray(const float nudged_scale, const float nudged_min,
372372

373373
bool CheckedLog2(const float x, int* log2_result) {
374374
// Using TfLiteRound instead of std::round and std::log instead of
375-
// std::log2 to work around these fuctions being missing in a toolchain
375+
// std::log2 to work around these functions being missing in a toolchain
376376
// used in some TensorFlow tests as of May 2018.
377377
const float x_log2 = std::log(x) * (1.0f / std::log(2.0f));
378378
const float x_log2_rounded = TfLiteRound(x_log2);

tensorflow/python/keras/distribute/distributed_training_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ def _make_execution_function_with_cloning(model, mode):
936936
distributed_model = get_distributed_model(model, mode)
937937
assert distributed_model
938938

939-
# Also create an execution fuction on that distributed model.
939+
# Also create an execution function on that distributed model.
940940
if context.executing_eagerly():
941941
distributed_function = _make_eager_execution_function(model, mode)
942942
else:

0 commit comments

Comments
 (0)