Quantized Grid Sampling for Tensor Interpolation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for grid sampling in semiconductor circuits often require floating-point operations, which are slower, more resource-intensive, and costly compared to quantized operations.
Innovation Solution
A method for quantized grid sampling using customized digital hardware, where a multidimensional floating-point input tensor is processed by interpolating grid points, quantizing tensor dimensions, and performing requantization and scaling operations to generate quantized grid samples.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If floating-point operations are used for grid sampling, then measurement precision is maintained, but computational speed decreases and semiconductor real estate increases
Solution Approach 1:
The patent changes the numerical representation parameter from floating-point to quantized integer format. By representing grid coordinates and tensor values as quantized integers rather than floating-point numbers, the system maintains sufficient precision for grid sampling while enabling faster integer-based computations that are more efficient in terms of speed and hardware resource consumption.
Solution Approach 2:
The patent uses a simplified quantized integer representation instead of complex floating-point operations. The quantized format uses simpler data structures and operations that are computationally cheaper and require less hardware real estate, effectively replacing expensive floating-point units with more efficient integer arithmetic circuits.
2Measurement precision
If floating-point operations are used for grid sampling, then measurement precision is maintained, but semiconductor real estate increases
Solution Approach 1:
The patent changes the numerical representation parameter from floating-point to quantized integer format. By representing grid coordinates and tensor values as quantized integers rather than floating-point numbers, the system maintains sufficient precision for grid sampling while enabling faster integer-based computations that are more efficient in terms of speed and hardware resource consumption.
Solution Approach 2:
The patent uses a simplified quantized integer representation instead of complex floating-point operations. The quantized format uses simpler data structures and operations that are computationally cheaper and require less hardware real estate, effectively replacing expensive floating-point units with more efficient integer arithmetic circuits.
3Measurement precision
If floating-point operations are used for grid sampling, then measurement precision is maintained, but design and development cost increases
Solution Approach 1:
The patent uses a simplified quantized integer representation instead of complex floating-point operations. The quantized format uses simpler data structures and operations that are computationally cheaper and require less hardware real estate, effectively replacing expensive floating-point units with more efficient integer arithmetic circuits.
Solution Approach 2:
The patent changes the numerical representation parameter from floating-point to quantized integer format. By representing grid coordinates and tensor values as quantized integers rather than floating-point numbers, the system maintains sufficient precision for grid sampling while enabling faster integer-based computations that are more efficient in terms of speed and hardware resource consumption.
Data Source
AI summary
A method and system for quantized grid sampling of a tensor on customized digital hardware. The method and system receive a floating-point input tensor having one or more of tensor dimensions and a grid point that are performed in as quantized values. The quantized values generation and processing can be performed using digital hardware performing quantized operation including digital shifts and quantized multiplication and additions. For each of the one or more of tensor dimensions adjacent to the grid point a quantized-floor-index is determined. A domain shifted floor index is determined for each quantized-floor-index. Weights are determined for each quantized-floor-index. Data values of the tensor points adjacent to the grid point are accessed and a weighted sum grid sample point is generated.


