MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / isQuant

Method isQuant

include/dnnlibrary/NeuralNetworksWrapper.h:120–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 OperandType(Type type, std::vector<uint32_t> data, float scale, int32_t zeroPoint,
119 SymmPerChannelQuantParams&& channelQuant);
120 bool isQuant() const {
121 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;
122 }
123 operator ANeuralNetworksOperandType() const {return operandType; }
124};
125} // namespace wrapper

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected