We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603c852 commit 4527c3aCopy full SHA for 4527c3a
array_api_compat/paddle/_aliases.py
@@ -1137,6 +1137,14 @@ def asarray(
1137
return obj
1138
1139
1140
+def floor(x: array, /) -> array:
1141
+ return paddle.floor(x).to(x.dtype)
1142
+
1143
1144
+def ceil(x: array, /) -> array:
1145
+ return paddle.ceil(x).to(x.dtype)
1146
1147
1148
def clip(
1149
x: array,
1150
/,
0 commit comments