Elided, unchanged implementation of build_network.
if params['precision'] == 'bfloat16':