google / trax

Trax — Deep Learning with Clear Code and Speed
Apache License 2.0
8.07k stars 813 forks source link

Add Pad layer with some Args #1715

Open sunvod opened 2 years ago

sunvod commented 2 years ago

Add Pad layer with some Args: len_map: integer. Length of all sequences. padding: string, 'pre' or 'post'. Defaults is 'pre': pad either before or after each sequence. value: number. Default is zero. The pad value of the return array. and Returns: ndarray. Padded array of rank equal to array with shape increased according