Contents:
GLUETrainer.
format_data
Format data tensors
Note
The data dataset should contain data arrays for each domain in the same order as domain keys of the network.
Tuple[Mapping[str, Tensor], Mapping[str, Tensor], Tensor, Tensor, Tensor]
Tuple
Mapping
str
Tensor