tensorflow / tensorflow/tflite-support
Polish code for iOS Task Library Vision
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 441
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
- Avoid using calling the object setters directly. Use property instead. For example,
obj.prop = 123 - Change the initialization interface of model output classes to:
- Have readonly properties. All properties must be set at initialization.
- For immutable property such as NSString, or object with all immutable objects, it's fine to store the pointer instead of making a copy. This likely applies to most output types of Task Library.
- Example
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the iOS Task Library model output classes and the referenced example in tensorflow_lite_support/ios/task/processor/sources/TFLSegmentationResult.m. Check how setters and initialization are currently handled, then verify that output properties are readonly, initialized together, and accessed through properties across the affected output types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100