Skip to content

Commit ceb25c8

Browse files
abrowne2shelhamer
authored andcommitted
Fix various documentation typos (#4172)
* fix typo (standaraized->standardized) * fix typo (convet->convert, etc..) * fix typo (incompartible->incompatible) * fix typo (does't->doesn't) * fix typo (decoded->decode)
1 parent 6cbc72a commit ceb25c8

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

cmake/ConfigGen.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function(caffe_generate_export_configs)
109109

110110
# ---[ Configure and install version file ]---
111111

112-
# TODO: Lines below are commented because Caffe does't declare its version in headers.
112+
# TODO: Lines below are commented because Caffe doesn't declare its version in headers.
113113
# When the declarations are added, modify `caffe_extract_caffe_version()` macro and uncomment
114114

115115
# configure_file(cmake/Templates/CaffeConfigVersion.cmake.in "${PROJECT_BINARY_DIR}/CaffeConfigVersion.cmake" @ONLY)

cmake/Cuda.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ mark_as_advanced(CUDA_SDK_ROOT_DIR CUDA_SEPARABLE_COMPILATION)
284284
if(APPLE)
285285
caffe_detect_darwin_version(OSX_VERSION)
286286

287-
# OSX 10.9 and higher uses clang/libc++ by default which is incompartible with old CUDA toolkits
287+
# OSX 10.9 and higher uses clang/libc++ by default which is incompatible with old CUDA toolkits
288288
if(OSX_VERSION VERSION_GREATER 10.8)
289289
# enabled by default if and only if CUDA version is less than 7.0
290290
caffe_option(USE_libstdcpp "Use libstdc++ instead of libc++" (CUDA_VERSION VERSION_LESS 7.0))

cmake/Targets.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function(caffe_pickup_caffe_sources root)
8888
file(GLOB_RECURSE proto_files ${root}/src/caffe/*.proto)
8989
list(APPEND srcs ${proto_files})
9090

91-
# convet to absolute paths
91+
# convert to absolute paths
9292
caffe_convert_absolute_paths(srcs)
9393
caffe_convert_absolute_paths(cuda)
9494
caffe_convert_absolute_paths(test_srcs)
@@ -102,7 +102,7 @@ function(caffe_pickup_caffe_sources root)
102102
endfunction()
103103

104104
################################################################################################
105-
# Short command for setting defeault target properties
105+
# Short command for setting default target properties
106106
# Usage:
107107
# caffe_default_properties(<target>)
108108
function(caffe_default_properties target)
@@ -111,7 +111,7 @@ function(caffe_default_properties target)
111111
ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib"
112112
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib"
113113
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
114-
# make sure we build all external depepdencies first
114+
# make sure we build all external dependencies first
115115
if (DEFINED external_project_dependencies)
116116
add_dependencies(${target} ${external_project_dependencies})
117117
endif()

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ foreach(source_file ${examples_srcs})
2323

2424
if(UNIX OR APPLE)
2525
# Funny command to make tutorials work
26-
# TODO: remove in future as soon as naming is standartaized everywhere
26+
# TODO: remove in future as soon as naming is standardized everywhere
2727
set(__outname ${PROJECT_BINARY_DIR}/examples/${folder}/${name}${Caffe_POSTFIX})
2828
add_custom_command(TARGET ${name} POST_BUILD
2929
COMMAND ln -sf "${__outname}" "${__outname}.bin")

src/caffe/data_transformer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void DataTransformer<Dtype>::Transform(const Datum& datum,
130130
template<typename Dtype>
131131
void DataTransformer<Dtype>::Transform(const Datum& datum,
132132
Blob<Dtype>* transformed_blob) {
133-
// If datum is encoded, decoded and transform the cv::image.
133+
// If datum is encoded, decode and transform the cv::image.
134134
if (datum.encoded()) {
135135
#ifdef USE_OPENCV
136136
CHECK(!(param_.force_color() && param_.force_gray()))

0 commit comments

Comments
 (0)