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-26 22:45:55 +0300
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-11-26 22:47:58 +0300
commitea47a6966f1ec53eb6f4b30e3ee8160b3a4f066e (patch)
treeba7df9f308cac59e3ff27f015f476bf7a20a2b97 /src/PackMatrix.cc
parenta364b4ff781dd4e738ef3f682d8848736e9491e7 (diff)
remove unnecessary zero_point argument from constructors (#14323)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14323 Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/24 As title says. Reviewed By: dskhudia Differential Revision: D13167073 fbshipit-source-id: 6d6c526fd6e29a14e97f71a0881f28ada8703107
Diffstat (limited to 'src/PackMatrix.cc')
-rw-r--r--src/PackMatrix.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PackMatrix.cc b/src/PackMatrix.cc
index a577057..0177a07 100644
--- a/src/PackMatrix.cc
+++ b/src/PackMatrix.cc
@@ -18,9 +18,8 @@ PackMatrix<PT, inpType, accType>::PackMatrix(
int32_t rows,
int32_t cols,
inpType* buf,
- int groups,
- int32_t zero_pt)
- : buf_(buf), nrows_(rows), ncols_(cols), G_(groups), zero_pt_(zero_pt) {
+ int groups)
+ : buf_(buf), nrows_(rows), ncols_(cols), G_(groups) {
bufAllocatedHere_ = false;
if (!cpuinfo_initialize()) {
throw std::runtime_error("Failed to initialize cpuinfo!");