• Y
    Update `paddle.clamp` (#25906) · e662d1e0
    Yang Zhang 提交于
    * Update `paddle.clamp`
    
    rename to `paddle.clip`
    add fast path for dygraph mode
    remove `out`
    rename `input` -> `x`
    update doc sample
    
    * Fix leftover `Variable` wording
    
    * Indent doc with spaces
    
    * Remove `:alias` in docs
    
    * Update `enable_imperative` -> `disable_static`
    
    * Remove `imperative`
    
    also trigger CI
    
    * Update tests for better coverage
    
    * Rebase to fix `cosine_similarity`
    
    * Fix `cosine_similarity` some more
    e662d1e0
nn.py 589.6 KB