Estas enviando los imput con $a y $b. E intentas recogerlos con 'a' y 'b'
El form no necesita que lo imprimas dentro de php.
Puedes hacerlo así, y ves que trae POST
Código PHP:
<?php
$a = (int)$_POST['a'];
$b = (int)$_POST['b'];
var_dump($a, $b);
?>
<html>
<head>
<title>Suma</title>
</head>
<body>
<form action="" method="POST">
dato1: <input type="text" name="a" value="" /></br>
dato2: <input type="text" name="b" value="" /></br>
<input type="Submit" name="sumar" value="SUMA" /></br>
<?php
$suma = $a + $b;
echo $suma;
?>