def AveragePool(self, name, in_t, attrs):
    """
    Create and add AveragePool op to Graph
    """
    out_t = self.layer(op="AveragePool", name=name,
                       inputs=[in_t], outputs=[name],
                       attrs=attrs)[0]
    out_t.name = "{}_out_0".format(name)
    return out_t