Automatic detection and diagnosis of thyroid ultrasound images based on attention mechanism