apple / apple/coremltools

Request to support "view_as_complex" function.

Open
#2,003 2 comments 0 reactions 1 assignee Claimed by @junpeiz View on GitHub
feature request
Dominant language
Python
Stars
5.4k
Forks
850
Avg merge
4d 5h
Merged PRs (30d)
10

Description

## 🌱 Describe your Feature Request
My model uses Pytorch view_as_complex function. I found the current coremltools doesn't support that.
The error in the current version is
**RuntimeError: PyTorch convert function for op 'view_as_complex' not implemented.**

Could you please support this function in the coremltools?
Thanks!

## How can this feature be used?
This is the details:
https://pytorch.org/docs/stable/generated/torch.view_as_complex.html

## Describe alternatives you've considered

## Additional context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.