apple / apple/coremltools

List acceptence for scale parameter

Open
#2,619 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.4k
Forks
850
Avg merge
4d 5h
Merged PRs (30d)
10

Description

Hi!

I modified the coreml framework, which results with scale parameter in convert operation to accept a list, rather than a single float.

Here are my changes:

Image

I can generalize this to different shapes just like bias parameter. Should I create a PR for this? Would be this helpful? Is there a specific reason why team has not implemented this functionality?

Contributor guide

Open the contributing guide

Research direction

Start at the Core ML convert operation and compare its scale parameter handling with the existing bias parameter handling. Determine the supported list shapes and whether scale should accept them, then verify that conversion succeeds for the intended shapes; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.