• TFUsers's avatar
    Replace swish with silu (#8166) · 00112c35
    TFUsers authored
    
    
    * Replace swish with silu
    
    * revert nn.silu to nn.swish due to older version
    
    * simplify optimized silu conditional and fix format
    
    * Update activations.py
    
    * Update activations_tf.py
    
    * Update modeling_flax_utils.py
    
    * Update modeling_openai.py
    
    * add swish testcase
    
    * add pytorch swish testcase
    
    * Add more robust python version check
    
    * more formatting fixes
    Co-authored-by: default avatarTFUsers <TFUsers@gmail.com>
    00112c35
test_activations.py 985 Bytes