Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Add new lines at the EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartlomiej Gawrych committed Mar 15, 2022
1 parent 7a7947b commit e520d32
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/operator/quantization/dnnl/dnnl_quantize_asym-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ void DNNLQuantizeAsymForward(const OpStatePtr& state_ptr,
} // namespace mxnet

#endif // MXNET_USE_ONEDNN == 1
#endif // MXNET_OPERATOR_QUANTIZATION_DNNL_DNNL_QUANTIZE_ASYM_INL_H_
#endif // MXNET_OPERATOR_QUANTIZATION_DNNL_DNNL_QUANTIZE_ASYM_INL_H_
2 changes: 1 addition & 1 deletion src/operator/quantization/dnnl/dnnl_quantized_rnn-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ class DNNLQuantizedRnnOp {
} // namespace mxnet

#endif // MXNET_USE_ONEDNN == 1
#endif // MXNET_OPERATOR_QUANTIZATION_DNNL_DNNL_QUANTIZED_RNN_INL_H_
#endif // MXNET_OPERATOR_QUANTIZATION_DNNL_DNNL_QUANTIZED_RNN_INL_H_
2 changes: 1 addition & 1 deletion src/operator/quantization/dnnl/dnnl_quantized_rnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -362,4 +362,4 @@ void DNNLQuantizedRnnOp::Forward(const OpContext& op_ctx,
} // namespace op
} // namespace mxnet

#endif // MXNET_USE_ONEDNN == 1
#endif // MXNET_USE_ONEDNN == 1
2 changes: 1 addition & 1 deletion src/operator/quantization/quantize_asym-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ void QuantizeAsymForward(const OpStatePtr& state_ptr,
} // namespace op
} // namespace mxnet

#endif // MXNET_OPERATOR_QUANTIZATION_QUANTIZE_ASYM_INL_H_
#endif // MXNET_OPERATOR_QUANTIZATION_QUANTIZE_ASYM_INL_H_
4 changes: 3 additions & 1 deletion src/operator/quantization/quantize_asym.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* \brief implementation of asymmetric quantize operation
*/

#include <string>

#include "operator/quantization/quantize_asym-inl.h"
#if MXNET_USE_ONEDNN == 1
#include "operator/quantization/dnnl/dnnl_quantize_asym-inl.h"
Expand Down Expand Up @@ -152,4 +154,4 @@ where `scale = uint8_range / (max_range - min_range)` and
.add_arguments(QuantizeAsymParam::__FIELDS__());

} // namespace op
} // namespace mxnet
} // namespace mxnet
2 changes: 1 addition & 1 deletion src/operator/quantization/quantized_rnn-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ enum QuantizedRnnOutputs { kOut, kStateOut, kStateCellOut };
} // namespace op
} // namespace mxnet

#endif // MXNET_OPERATOR_QUANTIZATION_QUANTIZED_RNN_INL_H_
#endif // MXNET_OPERATOR_QUANTIZATION_QUANTIZED_RNN_INL_H_
3 changes: 2 additions & 1 deletion src/operator/quantization/quantized_rnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*/

#include <dmlc/logging.h>
#include <string>
#include <utility>
#include <vector>

Expand Down Expand Up @@ -358,4 +359,4 @@ NNVM_REGISTER_OP(RNN)
.set_attr<FAvoidDequantizeOutput>("FAvoidDequantizeOutput", AvoidRnnDequantizeOutput);

} // namespace op
} // namespace mxnet
} // namespace mxnet

0 comments on commit e520d32

Please sign in to comment.