GATK4 CNN: generalize code for testing tensor types
GATK4 CNN: generalize code for testing tensor types

lbeltrame/bcbio-nextgen,lbeltrame/bcbio-nextgen,vladsaveliev/bcbio-nextgen,vladsaveliev/bcbio-nextgen,lbeltrame/bcbio-nextgen,a113n/bcbio-nextgen,a113n/bcbio-nextgen,vladsaveliev/bcbio-nextgen,a113n/bcbio-nextgen,chapmanb/bcbio-nextgen,chapmanb/bcbio-nextgen,chapmanb/bcbio-nextgen