11. The method of claim 7 , further comprising providing the reshaped convoluted set to an additional convolutional neural network, wherein the additional convolutional neural network is trained to generate a heat map identifying the location of the query object in a search medium.
7. A method for automatically identifying a query object within a visual medium, wherein the method includes one or more processing devices performing operations comprising: training a neural network to identify pixels corresponding to a query object within the visual medium by performing operations comprising: generating batch representations of a query set of images in a batch of images and a search set of images in the batch of images; reshaping a respective layer of the batch representations for each of the query set of images and the search set of images; convolving the query set and the search set to generate a convolved set of the batch representations representing a true mask; and minimizing a result of a loss function by updating the neural network based on a difference between (i) the true mask generated by convolving the query set and the search set and (ii) an expected value of the true mask; generating, from the trained neural network, representations of the query object and the visual medium defining features of the query object and the visual medium; generating, from the representations, a heat map that identifies a location of pixels corresponding to the query object within the visual medium; and updating, based on the heat map, the visual medium to highlight the query object.