sc2_datasets.transforms.mmr_vs_result

Functions

mmr_vs_result(→ tuple[torch.Tensor, torch.Tensor])

Changes representation from the parsed SC2ReplayData representation into

Module Contents

mmr_vs_result(sc2_replay: sc2_datasets.replay_data.sc2_replay_data.SC2ReplayData) tuple[torch.Tensor, torch.Tensor]

Changes representation from the parsed SC2ReplayData representation into PyTorch tensors for learning mmr vs result.

Parameters:

sc2_replay (SC2ReplayData) – Specifies the replay data instance.

Returns:

Returns a tensor representation for the task of trying to learn how mmr maps to the end result of a match.

Return type:

tuple[torch.Tensor, torch.Tensor]