Home
last modified time | relevance | path

Searched refs:gather_variable (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_methods_invocations.py2614 gather_variable((S, S), 1, M, True, device=device))
2618 gather_variable((M, S // 2), 0, S, True, device=device))
2985 make_arg((S, S)), gather_variable((S, S), 1, S, True, device=device), 0)
2989 make_arg((S, S)), gather_variable((1, S // 2), 0, S, True, device=device), 1)
2993 make_arg((1, S)), gather_variable((S, S // 2), 0, S, True, device=device), 1)
2997 make_arg((S, S)), gather_variable((S, S // 2), 0, S, True, device=device))
7125 return gather_variable(shape, index_dim, max_indices, device=device)
7153 return gather_variable(shape, index_dim, max_indices, device=device)
7166 gather = partial(gather_variable, device=device)
24432 def gather_variable(shape, index_dim, max_indices, duplicate=False, device=torch.device('cpu')): function