Skip to main content

get_optimization_hints

Function get_optimization_hints 

Source
pub fn get_optimization_hints(
    tensor: &Tensor,
    config: &QuantConfig,
) -> Vec<String>
Expand description

Performance optimization hints based on tensor characteristics

Analyzes tensor properties and provides optimization hints for better quantization performance.

§Arguments

  • tensor - The tensor to analyze
  • config - The quantization configuration

§Returns

Vector of optimization hint strings