Skip to content

✨[Feature] Let users set input shape, dtype and format using example tensors #514

Closed
@narendasan

Description

@narendasan

Is your feature request related to a problem? Please describe.

Now that we are going to be able to specify tensor properties for inputs such as data type and format, it should be easier to use a tensor I already have as an example of the shape dtype and format I want.

Describe the solution you'd like

compile should be able to accept a list of Tensors to represent my graph inputs. From those tensors compile should be able to infer shape, data type and tensor format for the user. These should be logged in the debug log for easy debugging.

Describe alternatives you've considered

Note: I dont think theres a way to support dynamic shape using this method, so users will need to use trtorch.Input for that

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions