Fix infinite recursion in get_const_tuple when passed non-tuple input by jikechao · Pull Request #18766 · apache/tvm

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

gemini-code-assist[bot]

Comment on lines +188 to +189

Handle te.Tensor input by using its shape.
Refactor input type handling for in_tuple to simplify checks.
Refactor input handling in get_const_tuple function to check for shape attribute.