Skip to content
Merged
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
6 changes: 3 additions & 3 deletions onnxscript/function_libs/torch_lib/ops/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ def aten_convolution_overrideable(
raise NotImplementedError()


@torch_op("aten::copy")
@torch_op("aten::copy", trace_only=True)
def aten_copy(
self: TTensor,
src: TTensor2,
Expand Down Expand Up @@ -8690,7 +8690,7 @@ def aten_triangular_solve(
raise NotImplementedError()


@torch_op("aten::tril")
@torch_op("aten::tril", trace_only=True)
def aten_tril(self: TTensor, diagonal: int = 0) -> TTensor:
"""tril(Tensor self, int diagonal=0) -> Tensor"""

Expand Down Expand Up @@ -8718,7 +8718,7 @@ def aten_triplet_margin_loss(
raise NotImplementedError()


@torch_op("aten::triu")
@torch_op("aten::triu", trace_only=True)
def aten_triu(self: TTensor, diagonal: int = 0) -> TTensor:
"""triu(Tensor self, int diagonal=0) -> Tensor"""

Expand Down
Loading