Home
last modified time | relevance | path

Searched refs:cached_max_bias_ (Results 1 – 2 of 2) sorted by relevance

/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/subgraph/mkldnn/
H A Dmkldnn_fc.cc80 float cached_max_bias_; member in mxnet::op::SgMKLDNNFCOp
153 (has_bias && (cached_min_bias_ != min_bias || cached_max_bias_ != max_bias))) { in Forward()
170 cached_max_bias_ = max_bias; in Forward()
252 float bias_scale = GetQuantizeScale(mshadow::kInt8, cached_min_bias_, cached_max_bias_); in Forward()
257 MaxValue<int32_t>() / 2 / MaxAbs(cached_min_bias_, cached_max_bias_) / bias_scale; in Forward()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/subgraph/mkldnn/
H A Dmkldnn_fc.cc80 float cached_max_bias_; member in mxnet::op::SgMKLDNNFCOp
153 (has_bias && (cached_min_bias_ != min_bias || cached_max_bias_ != max_bias))) { in Forward()
170 cached_max_bias_ = max_bias; in Forward()
252 float bias_scale = GetQuantizeScale(mshadow::kInt8, cached_min_bias_, cached_max_bias_); in Forward()
257 MaxValue<int32_t>() / 2 / MaxAbs(cached_min_bias_, cached_max_bias_) / bias_scale; in Forward()