tensor_name: name of the tensor to quantize quant_sharing_param: name of the tensor that provides quantization parameter N)