"official/vision/evaluation/coco_evaluator.py" did not exist on "c9fe90c17fa20e00d39c463042b0a459c9754856"
  • Lei Wang's avatar
    [Enhancement] Update ReduceOp initialization values for integer types (#614) · 80ffea6d
    Lei Wang authored
    * [Enhancement] Update ReduceOp initialization values for integer types
    
    - Modified the `MakeInitValue` method in `ReduceOp` to handle integer data types correctly by returning appropriate minimum and maximum values based on the bit width.
    - Added checks for integer types to ensure correct initialization for `kMax` and `kMin` reduction types, enhancing the robustness of the reduction operations.
    
    * [Enhancement] Update ReduceOp to handle unsigned integer initialization values
    
    - Enhanced the `MakeInitValue` method in `ReduceOp` to include support for unsigned integer data types.
    - Added conditions to return appropriate initialization values for `kMax` and `kMin` reduction types based on the data type, improving the robustness of reduction operations.
    80ffea6d
reduce.cc 12.4 KB