I also had to change the line in the Get function to what @blank said in their comment. The original line is different but was still not the right data type.
return buffer_peek(self.noise, ((x * self.height) + y) * 4, buffer_f16);
to
return buffer_peek(self.noise, ((x * self.height) + y) * 4, buffer_f32);