Quantize input tensor to FP4 and return quantized tensor and scale. This function quantizes the last dimension of the given tensor `input`. For every 16 consecutive elements, a single dynamically computed scaling factor is shared. This scaling factor is quantized using the `input_g
(input: torch.Tensor, input_global_scale: torch.Tensor)
source not stored for this graph (policy: none)