Generate a Python object initialization routine for the following object.
Object: InventoryItem
Attributes: name, cost, quantity
class InventoryItem:
  def __init__(self, name, cost, quantity):
    self.name = name
    self.cost = cost
    self.quantity = quantity