• Qianfeng's avatar
    Padded Generic Kernel Instance (#730) · 0d911822
    Qianfeng authored
    
    
    * Add NumReduceDim template parameter to DeviceSoftmax and Softmax client API to simplify instances collecting
    
    * Move the generic kernel instance to be the first of the instance list for elementwise op of normalization
    
    * Add GetGenericInstance() interface for DeviceOperationInstanceFactory class of DeviceSoftmax
    
    * Add testing of GetGenericInstance() in client_example of Softmax
    
    * Revert "Add testing of GetGenericInstance() in client_example of Softmax"
    
    This reverts commit f629cd9a93ce38dfed4886d849f3c38d2e5379c8.
    
    * Revert "Add GetGenericInstance() interface for DeviceOperationInstanceFactory class of DeviceSoftmax"
    
    This reverts commit a9f0d000eb9fd240404112a526ef125429a351df.
    
    * Support generic kernel instance to be the first instance returned by GetInstances() for GroupNorm
    
    * Move generic kernel instance to separate tuple for elementwise op of normalization
    
    * Remove un-used files for softmax instance
    
    * Store generic kernel instance to separate tuple for softmax
    
    * Add IsSupported checking for generic instance to client example of softmax
    
    * Replace the get_device_normalize_from_mean_meansquare_instances() by the DeviceOperationInstanceFactory class for elementwise-normalization
    
    * clang-format fix
    
    * Remove int8 from softmax instances
    
    ---------
    Co-authored-by: default avatarzjing14 <zhangjing14@gmail.com>
    0d911822
softmax4d.cpp 6.49 KB