Skip to content

Commit

Permalink
Revert some wrong editions in NeuralNetworksWrapper.h
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 13, 2019
1 parent 8f05911 commit afdec77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dnnlibrary/include/NeuralNetworksWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ struct SymmPerChannelQuantParams {
// A helper function
inline bool isScalarType(const Type &type) {
return type == Type::FLOAT16 || type == Type::FLOAT32 || type == Type::INT32 || type == Type::BOOL || type == Type::UINT32;
return type == Type::FLOAT32 || type == Type::INT32 || type == Type::UINT32;
}

inline std::string typeToStr(const Type &type) {
Expand Down Expand Up @@ -149,7 +148,6 @@ struct OperandType {
}
bool isQuant() const {
return type == Type::TENSOR_QUANT8_SYMM_PER_CHANNEL || type == Type::TENSOR_QUANT16_SYMM || type == Type::TENSOR_QUANT16_ASYMM || type == Type::TENSOR_QUANT8_ASYMM || type == Type::TENSOR_INT32;
return type == Type::TENSOR_QUANT8_ASYMM || type == Type::TENSOR_INT32;
}
operator ANeuralNetworksOperandType() const {return operandType; }
};
Expand Down

0 comments on commit afdec77

Please sign in to comment.