tflite-support icon indicating copy to clipboard operation
tflite-support copied to clipboard

Polish code for iOS Task Library Vision

Open khanhlvg opened this issue 3 years ago • 2 comments

  • 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

khanhlvg avatar Mar 17 '22 21:03 khanhlvg

@priankakariatyml Could you work on this after finishing the Pod work?

khanhlvg avatar Mar 17 '22 21:03 khanhlvg

I will work on this.

priankakariat avatar Mar 18 '22 13:03 priankakariat