helper#
- paddle_pad_and_concatenate(tensor1, tensor2, padding_index=-100)[source]#
Concatenates
tensor1andtensor2on first axis, applying padding on the second if necessary.
Concatenates tensor1 and tensor2 on first axis, applying padding on the second if necessary.