Skip to content

Commit

Permalink
[js/webgpu] Enable graph capture for whisper-tiny-decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
axinging committed Jul 16, 2024
1 parent 281ed8c commit a10d717
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onnxruntime/core/providers/js/operators/reshape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ONNX_OPERATOR_KERNEL_EX(
14,
kJsExecutionProvider,
(*KernelDefBuilder::Create())
.TypeConstraint("T", JsepSupportedDataTypes())
.TypeConstraint("T", DataTypeImpl::AllTensorTypes())
.TypeConstraint("shape", DataTypeImpl::GetTensorType<int64_t>())
.Alias(0, 0)
.InputMemoryType(OrtMemTypeCPU, 1),
Expand All @@ -25,7 +25,7 @@ ONNX_OPERATOR_VERSIONED_KERNEL_EX(
13, 13,
kJsExecutionProvider,
(*KernelDefBuilder::Create())
.TypeConstraint("T", JsepSupportedDataTypes())
.TypeConstraint("T", DataTypeImpl::AllTensorTypes())
.TypeConstraint("shape", DataTypeImpl::GetTensorType<int64_t>())
.Alias(0, 0)
.InputMemoryType(OrtMemTypeCPU, 1),
Expand All @@ -37,7 +37,7 @@ ONNX_OPERATOR_VERSIONED_KERNEL_EX(
5, 12,
kJsExecutionProvider,
(*KernelDefBuilder::Create())
.TypeConstraint("T", JsepSupportedDataTypes())
.TypeConstraint("T", DataTypeImpl::AllTensorTypes())
.TypeConstraint("shape", DataTypeImpl::GetTensorType<int64_t>())
.Alias(0, 0)
.InputMemoryType(OrtMemTypeCPU, 1),
Expand Down

0 comments on commit a10d717

Please sign in to comment.