获取两块TensorBuffer内存的数据类型。
1 | static TensorBufferCopyType TensorBuffer::GetBufferCopyType(const TensorBuffer &buffer1, const TensorBuffer &buffer2); |
参数名 |
输入/输出 |
说明 |
---|---|---|
buffer1 |
输入 |
TensorBuffer对象。 |
buffer2 |
输入 |
TensorBuffer对象。 |
数据结构 |
说明 |
---|---|
TensorBufferCopyType |
两块内存拷贝类型。
|