Make it consistent for OperatorBase usage (#15908)
authorJianyu Huang <jianyuhuang@fb.com>
Sat, 12 Jan 2019 03:21:47 +0000 (19:21 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 12 Jan 2019 03:32:58 +0000 (19:32 -0800)
commit264e16bffde7cf3a9491bc07fabe30c6d61d0490
treef8fc7d2a2b1747610c6d29a5b099aac94fce91a6
parent55b0e2a1eb4e2a258f27c999c2abd9b258b9b9ff
Make it consistent for OperatorBase usage (#15908)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15908

"OperatorBase::" is changed to "this->template ".

For example,

  # This no longer works
  OperatorBase::GetSingleArgument<>()
  # Should change to:
  this->template GetSingleArgument<>()

https://fb.workplace.com/groups/101100140348621/permalink/576804082778222/

Follow up of D13574832.

Sample Diff:
D9319742D10045844.

Reviewed By: jspark1105

Differential Revision: D13613574

fbshipit-source-id: 2cb4094557b4af78d41e289816cad3e1194fb82c
17 files changed:
caffe2/quantization/server/batch_matmul_dnnlowp_op.cc
caffe2/quantization/server/concat_dnnlowp_op.cc
caffe2/quantization/server/conv_dnnlowp_acc16_op.cc
caffe2/quantization/server/conv_dnnlowp_op.cc
caffe2/quantization/server/conv_relu_op.cc
caffe2/quantization/server/dequantize_dnnlowp_op.cc
caffe2/quantization/server/elementwise_dnnlowp_op.h
caffe2/quantization/server/elementwise_linear_dnnlowp_op.cc
caffe2/quantization/server/fully_connected_dnnlowp_acc16_op.cc
caffe2/quantization/server/fully_connected_dnnlowp_op.cc
caffe2/quantization/server/fully_connected_fake_lowp_op.h
caffe2/quantization/server/fully_connected_rowwise_dnnlowp_op.cc
caffe2/quantization/server/group_norm_dnnlowp_op.cc
caffe2/quantization/server/lstm_unit_dnnlowp_op.cc
caffe2/quantization/server/relu_dnnlowp_op.cc
caffe2/quantization/server/relu_dnnlowp_op.h
caffe2/quantization/server/utility_dnnlowp_ops.h