def METHOD_NAME(uid, iid, num_users, num_items, emb_size, reg_user, reg_item, seed=None):
    with tf.variable_scope("GMF") as scope:
        user_emb, item_emb = emb(
            uid=uid,
            iid=iid,
            num_users=num_users,
            num_items=num_items,
            emb_size=emb_size,
            reg_user=reg_user,
            reg_item=reg_item,
            seed=seed,
            scope=scope,
        )
        return tf.multiply(user_emb, item_emb)