CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2020-047114, filed on Mar. 18, 2020; the entire contents of which are incorporated herein by reference.

FIELD

Embodiments described herein relate generally to a processing apparatus, a processing method, a learning apparatus, and a computer program product.

BACKGROUND

A neural network can classify an image. For example, when an intruder is detected based on an image shot by a security camera and when appearance inspection of a manufactured product is performed based on an image obtained by imaging the appearance of the manufactured product, the neural network can classify the image into “abnormal” or “not abnormal”.

In the case of the intruder detection or the appearance inspection of the manufactured product, an image having an extremely large size of, for example, several thousand by several thousand pixels is given to the neural network. When such an image having the extremely large size is input to the neural network executing complicated processing, the processing amount is huge and arithmetic cost is extremely increased. To cope with this, for example, when a neural network with which a size of an image (feature map) for each channel is excessively decreased in an early layer is used, image resolution is lowered and small abnormality cannot be detected.

