向DebugOp对象中增加多个bin文件组成的list tensor类型的输出描述。
def list_custom_output(self, output_desc_list: List)
参数名 |
输入/输出 |
说明 |
---|---|---|
output_desc_list |
输入 |
list,其中每个元素类型为custom_output中的入参组成的tuple。 |
返回DebugOp类型的自身实例对象。
import ascendebug ascendebug.create_debug_op('OpCustom', 'VectorCore', '${chip_version}').list_custom_output( [('z_0', 'float16', [24, 144, 1280], '/xxxx/z_0.bin', []), ('z_1', 'float16', [24, 144, 1280], '/xxxx/z_1.bin', [])])