tensor_to_numpy
Function
Defines the type conversion function, which receives a parameter of the InferTensor type for conversion and returns a value of the py::array type.
C++ Prototype
py::array TensorToNumpy(const InferTensor &tensor);
Python Prototype
tensor_to_numpy(tensor)
Parent topic: Functions