Update Device

__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

1input_data = np.random.rand(1, 224, 224, 3).astype(np.float32)
2device_interface.__update__(input_data)