Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add String data type support #58

Merged
merged 4 commits into from
Feb 24, 2021

Commits on Feb 9, 2021

  1. Add String data type support

    - Tensor construction now uses different logic for primitive types (using their native in-memory layout) and strings (filling the tensor with onnxruntime's `FillStringTensor`).
      - Extended `TypeToTensorElementDataType` to also be able to expose utf8 contents, if present
      - `Utf8Data` trait to make it possible to use both `String` and `&str`
    - `call_ort` helper that takes care of mapping the ort status to a Result so you can't forget to do it
    - `print_structure` example that shows the inputs and outputs of an .onnx model (names, types, etc)
    marshallpierce committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    db3d7a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Configuration menu
    Copy the full SHA
    f2ed12a View commit details
    Browse the repository at this point in the history
  2. Appease clippy

    marshallpierce committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    d5c5e0e View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Fix test name

    marshallpierce committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    a98d630 View commit details
    Browse the repository at this point in the history