Google announced that it will sign the European Union’s voluntary Code of Practice for general-purpose A.I.