omp_set_num_threads(FLAGS_caffe2_omp_num_threads);
}
#endif
+
+ if (this->debug_def().engine() == "DNNLOWP_16" ||
+ this->debug_def().engine() == "DNNLOWP_ROWWISE_16") {
+ LOG(WARNING)
+ << this->debug_def().engine()
+ << " is an experimental feature mostly for testing accuracy with "
+ "fixed-point precision higher than 8 and performance is very slow";
+ }
}
virtual ~ConvPoolDNNLowPOpBase() {
const OperatorDef& operator_def,
Workspace* ws)
: Operator<CPUContext>(operator_def, ws),
- qfactory_(dnnlowp::GetQuantizationFactoryOf(this)) {}
+ qfactory_(dnnlowp::GetQuantizationFactoryOf(this)) {
+ if (this->debug_def().engine() == "DNNLOWP_16" ||
+ this->debug_def().engine() == "DNNLOWP_ROWWISE_16") {
+ LOG(WARNING)
+ << this->debug_def().engine()
+ << " is an experimental feature mostly for testing accuracy with "
+ "fixed-point precision higher than 8 and performance is very slow";
+ }
+}
template <typename T>
bool DequantizeDNNLowPOp<T>::RunOnDevice() {
omp_set_num_threads(FLAGS_caffe2_omp_num_threads);
}
#endif
+ if (this->debug_def().engine() == "DNNLOWP_16" ||
+ this->debug_def().engine() == "DNNLOWP_ROWWISE_16") {
+ LOG(WARNING)
+ << this->debug_def().engine()
+ << " is an experimental feature mostly for testing accuracy with "
+ "fixed-point precision higher than 8 and performance is very slow";
+ }
}
virtual ~DNNLowPOp() {