apple / apple/coremltools

pytorch inverse op implementation

Open
#958 3 comments 0 reactions 0 assignees View on GitHub
missing layer type PyTorch (traced)
Dominant language
Python
Stars
5.4k
Forks
850
Avg merge
4d 5h
Merged PRs (30d)
10

Description

## ❓Question
Hello, when i'm trying to convert pytorch model which uses torch.inverse(), i get the following error: 'RuntimeError: PyTorch convert function for op 'inverse' not implemented.'

OS: Ubuntu 18.04.4 LTS
coremltools version: 4.0b4

Any chances that it will be implemented soon?

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by locating the PyTorch conversion entry point and the handling for torch.inverse(), then inspect how unsupported operations are covered by tests. Done means inverse models convert successfully with regression coverage and the issue no longer reports the missing converter error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.