19 void QuantizeImpl(Decoder<float>& in, Encoder<float>& out,
size_t numValues)
21 for (
unsigned int i = 0; i < numValues; i++)
33 , m_NumElements(
info.m_InputTensorInfos[0].GetNumElements())
52 std::unique_ptr<Decoder<float>> inputDecoder = MakeDecoder<float>(
GetTensorInfo(inputs[0]), inputs[0]->
Map());
53 std::unique_ptr<Encoder<float>> outputEncoder = MakeEncoder<float>(
GetTensorInfo(outputs[0]), outputs[0]->
Map());
55 QuantizeImpl(*inputDecoder, *outputEncoder, m_NumElements);