def METHOD_NAME(blob_name, blob_data, context):
    if context.upper() != "CPU":
        blob_name_modified = "{}_CPU".format(blob_name)
    else:  # CPU case is simple
        blob_name_modified = blob_name
    fill_op = core.CreateOperator(
        "GivenTensorFill", [], [blob_name_modified],
        arg=[
            utils.MakeArgument("shape", blob_data.shape),
            utils.MakeArgument("values", blob_data)
        ]
    )
    extra_init_net_ops.append(fill_op)
    # We need to create CPU blobs and add some copy operations in
    # the init_net
    if context.upper() == "OPENGL":
        copy_op = core.CreateOperator("CopyToOpenGL", [blob_name_modified],
                                      [blob_name])
        extra_init_net_ops.append(copy_op)