Rate this Page

Kernel#

class torch.autograd.profiler_util.Kernel(name, device, duration)#
count(value, /)#

Return number of occurrences of value.

device#

Alias for field number 1

duration#

Alias for field number 2

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

name#

Alias for field number 0