torch.KernelRegistry.hasDType KernelRegistry.hasDType(name: string): boolean Check if a dtype is registered. Parameters namestring Returns boolean