torch.max(input, dim, keepdim=False, out=None)

YoungJoon Suh·2022년 10월 26일
0

Returns a namedtuple (values, indices) where values is the maximum value of each row of the input tensor in the given dimension. And indices is the index location of each maximum value found (argmax). If keepdim is True, the output tensors are of the same size as input except in the dimension dim where they are of size 1. Otherwise, dim is squeezed (see torch.squeeze()), resulting in the output tensors having one fewer dimension than input.

profile
저는 서영준 입니다.

0개의 댓글

관련 채용 정보