<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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