def check_input(self, texts: List[List[np.ndarray]]) -> np.ndarray:
if self.opt["<STR_LIT>"] is not None:<EOL><INDENT>features = self.pad_texts(texts)<EOL><DEDENT>else:<EOL><INDENT>if len(texts[<NUM_LIT:0>]):<EOL><INDENT>features = np.array(texts)<EOL><DEDENT>else:<EOL><INDENT>features = np.zeros((<NUM_LIT:1>, <NUM_LIT:1>, self.opt["<STR_LIT>"]))<EOL><DEDENT><DEDENT>return features<EOL>
Check and convert input to array of tokenized embedded samples

Args:
    texts: list of tokenized embedded text samples

Returns:
    array of tokenized embedded texts samples that are cut and padded