Revise topk (#3819)
* Add visit_attribute and node validation check * add type_prop test for default values * style-apply * Update node validation check for index_element_type * Update type_prop test for default index_element_type * Add index_element_type attribute to TopK_1 spec
This commit is contained in:
committed by
GitHub
parent
d3f0242f58
commit
96b2ffa9ab
@@ -32,6 +32,14 @@
|
||||
* **Default value**: None
|
||||
* **Required**: *yes*
|
||||
|
||||
* *index_element_type*
|
||||
|
||||
* **Description**: the type of output tensor with indices
|
||||
* **Range of values**: "i64" or "i32"
|
||||
* **Type**: string
|
||||
* **Default value**: "i32"
|
||||
* **Required**: *No*
|
||||
|
||||
**Inputs**:
|
||||
|
||||
* **1**: Arbitrary tensor. Required.
|
||||
|
||||
Reference in New Issue
Block a user