We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e5601 commit bc2f56fCopy full SHA for bc2f56f
py/torch_tensorrt/dynamo/conversion/impl/condition/ops.py
@@ -104,9 +104,9 @@ def select(
104
target: Target,
105
source_ir: Optional[SourceIR],
106
name: str,
107
- input: Union[TRTTensor],
108
- other: Union[TRTTensor],
109
- condition: Union[TRTTensor],
+ input: TRTTensor,
+ other: TRTTensor,
+ condition: TRTTensor,
110
) -> TRTTensor:
111
select_layer = ctx.net.add_select(condition, input, other)
112
set_layer_name(select_layer, target, name + "_select", source_ir)
0 commit comments