# Kernel Source: https://www.tensorplay.cn/docs/generated/tensorplay.autograd.profiler_util.Kernel.html ```python class tensorplay.autograd.profiler_util.Kernel(name, device, duration) ``` ```python count(value, /) ``` Return number of occurrences of value. ```python device ``` Alias for field number 1 ```python duration ``` Alias for field number 2 ```python index(value, start=0, stop=9223372036854775807, /) ``` Return first index of value. Raises ValueError if the value is not present. ```python name ``` Alias for field number 0