.. _get_tensor: Get Tensor ========== .. code-block:: python __get_tensor__(self, out_data: Union[np.ndarray, bytes]) **Description** This method copies the output tensor data from the device to the provided output data array. **Parameters** * `out_data (Union[np.ndarray, bytes])`: output buffer to be updated **Returns** None **Raises** * `Exception`: If the input data is None. **Usage** .. code-block:: python :linenos: out_tensor = np.zeros(2856000, dtype=np.uint8) device_interface.__get_tensor__(out_tensor)