experiments/delaney/train.py
def clip_original_size(saliency_, num_atoms_):
        """`saliency` array is 0 padded, this method align to have original
        molecule's length
        """
        assert len(saliency_) == len(num_atoms_)
        saliency_list = []
        for i in range(len(saliency_)):
            saliency_list.append(saliency_[i, :num_atoms_[i]])
        return saliency_list
`saliency` array is 0 padded, this method align to have original
        molecule's length
        
`saliency` array is 0 padded, this method align to have original
molecule's length
` saliency ` array is 0 padded this method align to have original molecule ' s length
def clip_original_size(saliency_, num_atoms_):
        assert len(saliency_) == len(num_atoms_)
        saliency_list = []
        for i in range(len(saliency_)):
            saliency_list.append(saliency_[i, :num_atoms_[i]])
        return saliency_list
def clip_original_size ( saliency_ , num_atoms_ ) : assert len ( saliency_ ) == len ( num_atoms_ ) saliency_list = [ ] for i in range ( len ( saliency_ ) ) : saliency_list . append ( saliency_ [ i , : num_atoms_ [ i ] ] ) return saliency_list
`saliency` array is 0 padded, this method align to have original
molecule's length
` saliency ` array is 0 padded this method align to have original molecule ' s length
"""`saliency` array is 0 padded, this method align to have original
        molecule's length
        """
saliency_
num_atoms_