You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: move_output_info_gpu.m
    path of file: ./repos/refinenet/main
    
    the code of the file until where you have to start completion: function output_info=move_output_info_gpu(output_info)



if output_info.is_group_data
    
    data_child_groups=output_info.data_child_groups;
    output_valid_flags=output_info.child_valid_flags;
    data_child_groups=data_child_groups(output_valid_flags);

    
function output_info=move_output_info_gpu(output_info)



if output_info.is_group_data
    
    data_child_groups=output_info.data_child_groups;
    output_valid_flags=output_info.child_valid_flags;
    data_child_groups=data_child_groups(output_valid_flags);
    child_num=length(data_child_groups);
    
    for g_idx=1:child_num
        data_child_groups{g_idx}=move_output_info_gpu(data_child_groups{g_idx});
    end