!17078 change the sequence of register info of topk.
From: @wangshuide2020 Reviewed-by: @liangchenghui,@jjfeing Signed-off-by: @liangchenghui
This commit is contained in:
commit
a9efac9d32
|
@ -24,14 +24,14 @@ top_k_op_info = TBERegOp("TopK") \
|
|||
.kernel_name("top_k_d") \
|
||||
.partial_flag(True) \
|
||||
.need_check_supported(True) \
|
||||
.attr("dim", "optional", "int", "all", "-1") \
|
||||
.attr("k", "required", "int", "all") \
|
||||
.attr("largest", "optional", "bool", "all", "true") \
|
||||
.attr("sorted", "optional", "bool", "all", "true")\
|
||||
.input(0, "x", False, "required", "all") \
|
||||
.input(1, "assist_seq", False, "required", "all") \
|
||||
.output(0, "values", False, "required", "all") \
|
||||
.output(1, "indices", False, "required", "all") \
|
||||
.attr("k", "required", "int", "all") \
|
||||
.attr("sorted", "optional", "bool", "all", "true")\
|
||||
.attr("dim", "optional", "int", "all", "-1") \
|
||||
.attr("largest", "optional", "bool", "all", "true") \
|
||||
.dtype_format(DataType.F16_Default, DataType.F16_Default, DataType.F16_Default, DataType.I32_Default) \
|
||||
.get_op_info()
|
||||
|
||||
|
|
Loading…
Reference in New Issue