Skip to content

Commit

Permalink
Merge pull request #112 from Yulv-git/typos1
Browse files Browse the repository at this point in the history
Fix some typos.
  • Loading branch information
jianfeifeng authored May 30, 2022
2 parents 06549a5 + f2d1e3b commit f01d046
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/gcl/include/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ inline EE list_platform_info(Platform p)
* @brief get devices in platform, and allocate space for storing devices
* @warning please free space of devices allocated in this function
*
* @param p input, specify platform, device will be retrived from this platform
* @param p input, specify platform, device will be retrieved from this platform
* @param type input, specify device type
* @param num_devices output, return device number with type in platform p
* @param devices output, return devices
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ EE convolution_winograd_A55(TensorDesc inputDesc,
UNUSED(biasDesc);
UNUSED(tmpBytes);

// not truely one_step. Compute hw12*(6*6)*ic at one time.
// not truly one_step. Compute hw12*(6*6)*ic at one time.
DataType idt, fdt, odt;
DataFormat idf, fdf, odf;
U32 in, ic, ih, iw;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ EE convolution_winograd_A76(TensorDesc inputDesc,
UNUSED(biasDesc);
UNUSED(tmpBytes);

// not truely one_step. Compute hw12*(6*6)*ic at one time.
// not truly one_step. Compute hw12*(6*6)*ic at one time.
DataType idt, fdt, odt;
DataFormat idf, fdf, odf;
U32 in, ic, ih, iw;
Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/caffe.proto
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ message ResizeParameter {
CUBIC = 4;
LANCZOS4 = 5;
}
//interpolation for for resizing
//interpolation for resizing
repeated Interp_mode interp_mode = 7;
}

Expand Down
2 changes: 1 addition & 1 deletion third_party/proto/onnx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ enum Version {
// The version field is always serialized and we will use it to store the
// version that the graph is generated from. This helps us set up version
// control.
// For the IR, we are using simple numbers starting with with 0x00000001,
// For the IR, we are using simple numbers starting with 0x00000001,
// which was the version we published on Oct 10, 2017.
IR_VERSION_2017_10_10 = 0x0000000000000001;

Expand Down
4 changes: 2 additions & 2 deletions training/src/tests/tests/layers/Test_Layer_LSTMCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ TEST(TestLSTMCell, SingleParamsLoadedNoBiasForgetForwardUnit)
/// 3. If we need two tensors ih and hh, we have to split the weights tensor into 2 parts the weights tensor (axis=0).
/// They must be dumped in transposed mode.
/// weights_ih, weights_hh = np.split(weights, [input_size], axis=0)
/// 4. If we need one tensor, we have to dump concatenate weights in in transposed mode.
/// 4. If we need one tensor, we have to dump concatenate weights in transposed mode.

// Test parameters
const auto eps_rel = 1e-5_dt;
Expand Down Expand Up @@ -1007,7 +1007,7 @@ TEST(TestLSTMCell, SingleParamsLoadedWithBiasForgetForwardUnit)
/// 3. If we need two tensors ih and hh, we have to split the weights tensor into 2 parts the weights tensor (axis=0).
/// They must be dumped in transposed mode.
/// weights_ih, weights_hh = np.split(weights, [input_size], axis=0)
/// 4. If we need one tensor, we have to dump concatenate weights in in transposed mode.
/// 4. If we need one tensor, we have to dump concatenate weights in transposed mode.

// Test parameters
const auto eps_rel = 1e-5_dt;
Expand Down

0 comments on commit f01d046

Please sign in to comment.