The purpose of this clinical study is to assess the safety and effectiveness of the Atrial Flow Regulator in the treatment of subjects, 18 years of age or older, who have symptomatic heart failure with preserved ejection fraction (HFpEF) or heart failure with reduced ejection fraction (HFrEF) while on stable guideline directed medical therapy (GDMT) as outlined in the Guidelines for the Management of Heart Failure.