Skip to content

feat: type-safe TensorDataType enum, upgrade LiteRT to 2.1.3, address PR #172 review comments - #175

Closed
DaveyEke wants to merge 2 commits into
margelo:mainfrom
DaveyEke:feat/type-safe-enum
Closed

feat: type-safe TensorDataType enum, upgrade LiteRT to 2.1.3, address PR #172 review comments#175
DaveyEke wants to merge 2 commits into
margelo:mainfrom
DaveyEke:feat/type-safe-enum

Conversation

@DaveyEke

Copy link
Copy Markdown
Contributor
  • Tensor.dataType changed from string → TensorDataType discriminated union (20 types, nitrogen-generated C++ enum)
  • All switch statements made exhaustive (no default: fallthrough)
  • LiteRT Android upgraded 1.4.0 → 2.1.3, GPU delegate 1.4.0 → 1.4.2
  • ArrayBuffer.copy → ArrayBuffer.wrap (GC-safe) — addresses PR feat: migrate to Nitro Modules (v3) #172 review
  • Removed 16KB page-size linker flags (handled by Gradle now) — addresses PR feat: migrate to Nitro Modules (v3) #172 review
  • Example app bundle ID + module name standardised to com.margelo.nitro.tflite.example / TFLiteExample

@DaveyEke
DaveyEke marked this pull request as draft March 27, 2026 19:50
@mrousavy mrousavy closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants