Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion diopirt
2 changes: 1 addition & 1 deletion impl
Submodule impl updated from 796964 to 6f8865
2 changes: 1 addition & 1 deletion python/conformance/diopi_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@

'pointwise_op': dict(
name=['abs', 'cos', 'erf', 'exp', 'floor',
'neg', 'sin', 'sqrt', 'logical_not'],
'neg', 'sin', 'sqrt', 'logical_not', 'ceil'],
interface=['torch'],
is_inplace=True,
dtype=[Dtype.float16, Dtype.float32, Dtype.float64],
Expand Down
4 changes: 4 additions & 0 deletions python/conformance/diopi_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ def floor(input, inplace=False) -> Tensor:
return unary_op(input, inplace, 'diopiFloor')


def ceil(input, inplace=False) -> Tensor:
return unary_op(input, inplace, 'diopiCeil')


def sign(input) -> Tensor:
return unary_op(input, False, 'diopiSign')

Expand Down