.. _update: Update Device ============= .. code-block:: python __update__(self, in_data: Union[np.ndarray, bytes]) **Description** This method copies the provided input data into the input tensor of the device. **Parameters** * `in_data (Union[np.ndarray, bytes])`: Input data to be updated **Returns** None **Raises** * `Exception`: If the input data is None. **Usage** .. code-block:: python :linenos: input_data = np.random.rand(1, 224, 224, 3).astype(np.float32) device_interface.__update__(input_data)