def encode_batch ( self , inputBatch ) : X = inputBatch encode = self . encode Y = np . array ( [ encode ( x ) for x in X ] ) return Y
python batch input matrix
Encodes a whole batch of input arrays without learning .
def encode_batch(self, inputBatch):
        """Encodes a whole batch of input arrays, without learning."""
        X      = inputBatch
        encode = self.encode
        Y      = np.array([ encode(x) for x in X])
        return Y