Disable float32 to float16 conversion by default(#267)
Disable conversion since this will impact the precision. User should enable this conversion explicitly. Signed-off-by: Jia <juku.jia@verisilicon.com> Co-authored-by: Jia <juku.jia@verisilicon.com>
This commit is contained in:
parent
e2180a6341
commit
7fa5223943
|
|
@ -156,6 +156,8 @@ bool GraphImpl::Compile() {
|
|||
|
||||
vsi_nn_SetGraphVersion(graph_, major, minor, patch);
|
||||
|
||||
vsi_nn_SetGraphFastMode(graph_, false);
|
||||
|
||||
std::call_once(setio_once_, [&status, this]() {
|
||||
status = (vsi_nn_SetGraphInputs(this->graph_, this->inputs_.data(),
|
||||
this->inputs_.size()) &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue