* Add shape op to get the shape of variable. * Rename get_shape to shape. * Add checker for output and fix comments.