Skip to content

Commit

Permalink
add sqrt func for ndarray
Browse files Browse the repository at this point in the history
  • Loading branch information
kimim committed Oct 5, 2021
1 parent 07fa04d commit b544583
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/clj_djl/ndarray.clj
Original file line number Diff line number Diff line change
Expand Up @@ -702,3 +702,7 @@
"Returns the inverse trigonometric cosine of this NDArray element-wise."
[ndarray]
(.acos ndarray))

(defn sqrt
[ndarray]
(.sqrt ndarray))

0 comments on commit b544583

Please sign in to comment.