TensorBuffer をコピーします。
プロトタイプ
static void copy_tensor_buffer(vart::TensorBuffer* tb_from, vart::TensorBuffer* tb_to);
パラメーター
次の表に、copy_tensor_buffer
関数の引数を示します。
タイプ | 名称 | 説明 |
---|---|---|
vart::TensorBuffer* | tb_from | ソース TensorBuffer |
vart::TensorBuffer* | tb_to | デスティネーション TensorBuffer |
戻り値
なし。
使用法
vart::TensorBuffer* tb_from;
vart::TensorBuffer* tb_to;
vart::TensorBuffer::copy_tensor_buffer(tb_from.get(), tb_to.get());