You cannot deduct the cost of early education. However, the grandchild’s parent may be eligible for a dependent care credit (assuming you gave the funds to the parent who then paid the tuition). Pre-school tuition is a qualified expense for purposes of this tax credit.
Writing off the cost of depreciable property over a period of years, usually its class life or recovery period specified in the tax law.