Get Tensor of TensorBuffer.
Prototype
const xir::Tensor* get_tensor()
Parameters
None.
Returns
A pointer to the Tensor.Usage
vart::TensorBuffer* tb;
auto shape = tb->get_tensor()->get_shape();
const xir::Tensor* get_tensor()
None.
vart::TensorBuffer* tb;
auto shape = tb->get_tensor()->get_shape();