使用串流进行加载和存储 - 2022.1 简体中文

AI 引擎内核编码 最佳实践指南 (UG1079)

Document ID
UG1079
Release Date
2022-05-25
Version
2022.1 简体中文

矢量数据可以从串流加载或者存储到串流中,如以下示例所示。

void func(input_stream_int32 *s0, input_stream_int32 *s1, …){
	for(…){
		data0=readincr(s0);
		data1=readincr(s1);
		…
	}
}

如需了解有关窗口和串流数据 API 用法的更多信息,请参阅 Versal ACAP AI 引擎编程环境用户指南(UG1076) 中的窗口和串流数据 API