Skip to content

dynamic shape #1557

@Qiancj0605

Description

@Qiancj0605

@ttyio Hi,If the input batchsize is 50,what is the batchsize during inference?

Set as follows:dynamic shape([-1,4561])
auto profile = builder->createOptimizationProfile();
profile->setDimensions(“inputname”, OptProfileSelector::kMIN, Dims{8, 4561});
profile->setDimensions(“inputname”,, OptProfileSelector::kOPT, Dims{32, 4561});
profile->setDimensions(“inputname”,, OptProfileSelector::kMAX, Dims{64, 4561});

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue has been triaged by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions