def command(self, cmd, type):
pass<EOL>
Emit a command to remote runtime (target device). 

Args:
    cmd: any json serializable data.
    type (:obj:`str`): a string value indicated the command type (command tag).

Returns:
    None (recommended).