Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/FBGEMM.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongsoo Park <jongsoo@fb.com>2018-11-19 07:17:54 +0300
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-11-19 07:19:53 +0300
commit6d00b52ee80787065561ac16942e55042ed6c760 (patch)
tree95986eb1a6e4a05e43c7b3aa21c31addedf9453b /include/fbgemm/ConvUtils.h
parent0581331ce7c2b528bc3c726c64d3baf74d12c959 (diff)
clang-format (#11)
Summary: Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/11 clang format of fbgemm Reviewed By: dskhudia Differential Revision: D13115202 fbshipit-source-id: 6dab29cb8b5f4fabcc165019663351567a2a2952
Diffstat (limited to 'include/fbgemm/ConvUtils.h')
-rw-r--r--include/fbgemm/ConvUtils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/fbgemm/ConvUtils.h b/include/fbgemm/ConvUtils.h
index fa6967a..1c8251e 100644
--- a/include/fbgemm/ConvUtils.h
+++ b/include/fbgemm/ConvUtils.h
@@ -25,7 +25,7 @@ struct conv_param_t {
std::array<int, SPATIAL_DIM> stride; //< Strides
std::array<int, SPATIAL_DIM * 2>
pad; //< Padding (first SPATIAL_DIM is for prev/top/left padding, second
- //SPATIAL_DIM is for next/bottom/right padding)
+ // SPATIAL_DIM is for next/bottom/right padding)
std::array<int, SPATIAL_DIM> dilation; //< Kernel dilation
// The following are derived parameters
@@ -87,8 +87,7 @@ struct conv_param_t {
}
} else {
for (int d = 0; d < SPATIAL_DIM; ++d) {
- out += "I" + std::to_string(d) + ":" +
- std::to_string(IN_DIM[d]) + ", ";
+ out += "I" + std::to_string(d) + ":" + std::to_string(IN_DIM[d]) + ", ";
}
}
out += "G:" + std::to_string(G) + ", ";