Added is_image_type and also fixed have_same_dimensions() so that the version
specific to images is only called on images. So this fixes a bug where the image version of have_same_dimensions() was being called for tensors and therefore only looking at the nr and nc dimension while ignoring the others. This caused some parts of the DNN tooling to malfunction.
Showing
Please
register
or
sign in
to comment