Source code for revive.common.step_node_function
import torch
from typing import Dict
[docs]def get_next_step_node(data : Dict[str, torch.Tensor]) -> torch.Tensor:
return data["step_node_"] + 1
import torch
from typing import Dict
[docs]def get_next_step_node(data : Dict[str, torch.Tensor]) -> torch.Tensor:
return data["step_node_"] + 1