(seq, seq_len)
| 301 | mlm_targets = query_mask_features['masked_token_ids'] |
| 302 | |
| 303 | def as_fixed_length_tensor(seq, seq_len): |
| 304 | result = truncate_or_pad(seq, seq_len, pad_val=0) |
| 305 | return tf.constant(result) |
| 306 | |
| 307 | mlm_mask = as_fixed_length_tensor(mlm_mask, self.max_masks) |
| 308 | mlm_positions = as_fixed_length_tensor(mlm_positions, self.max_masks) |
nothing calls this directly
no test coverage detected