list_custom_input

函数功能

向DebugOp对象中增加多个bin文件组成的list tensor类型的输入描述。

函数原型

def list_custom_input(self, input_desc_list: List)

参数说明

参数名

输入/输出

说明

input_desc_list

输入

list,其中每个元素类型为custom_input中的入参组成的tuple。

返回值

返回DebugOp类型的自身实例对象。

使用说明

import ascendebug
ascendebug.create_debug_op('OpCustom', 'VectorCore', '${chip_version}').list_custom_input(
    [('x_0', 'float16', [24, 144, 1280], '/xxxx/x_0.bin', []),
     ('x_1', 'float16', [24, 144, 1280], '/xxxx/x_1.bin', [])])