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 support tensor element type for register custom op shape infer function #21387

Conversation

mingyueliuh
Copy link
Contributor

@mingyueliuh mingyueliuh commented Jul 17, 2024

Description

Functionality extension for the SetOutputShape method in custom op shape inference.

Motivation and Context

  • SetOutputShape Interface enhancement
    Actually, the shape infer function need set the tensor type and shape , Add a parameter type to allow users to specify the tensor type, and set ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT as default value to ensure compatibility.

@mingyueliuh
Copy link
Contributor Author

@adrianlizarraga please take a look when you are available. Thanks.

@mingyueliuh
Copy link
Contributor Author

Hi @adrianlizarraga , could you help to review this PR , Thanks ~

@HectorSVC HectorSVC added the ep:VitisAI issues related to Vitis AI execution provider label Jul 24, 2024
@HectorSVC
Copy link
Contributor

/azp run Windows ARM64 QNN CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline,Windows x64 QNN CI Pipeline,onnxruntime-binary-size-checks-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed

@HectorSVC
Copy link
Contributor

/azp run Big Models,Linux Android Emulator QNN CI Pipeline,Linux CPU CI Pipeline,Linux CPU Minimal Build E2E CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,Linux OpenVINO CI Pipeline,Linux QNN CI Pipeline,MacOS CI Pipeline

Copy link

Azure Pipelines successfully started running 9 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 9 pipeline(s).

@HectorSVC HectorSVC merged commit d888813 into microsoft:main Jul 29, 2024
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:VitisAI issues related to Vitis AI execution provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants