Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

How to handle dynamic dimension tensors  #196

@xd009642

Description

@xd009642

This wasn't clear from the docs or the API types. In Session::run InputTensor and OutputTensor are used for inference but these only contain 1D values and no way to provide a shape for the tensor. If I have dynamic axes (batch size, sequence length etc). How can I specify the shape and also for the output get the output shape (which is also dynamic)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions