def testEquivGradientDescentwithoutRegularization(self):
    steps = 5
    for dtype in self.float_types:
        with self.test_session(), self.test_scope():
            (val0, val1) = self.equivGradientDescentTest_FtrlPart(steps, dtype)
        with self.test_session(), self.test_scope():
            (val2, val3) = self.equivGradientDescentTest_GradientDescentPart(steps, dtype)
    self.assertAllClose(val0, val2)
    self.assertAllClose(val1, val3)
def testEquivGradientDescentwithoutRegularization(self):
    steps = 5
    for dtype in self.float_types:
        with self.test_session(), self.test_scope():
            (val0, val1) = self.equivGradientDescentTest_FtrlPart(steps, dtype)
        with self.test_session(), self.test_scope():
            (val2, val3) = self.equivGradientDescentTest_GradientDescentPart(steps, dtype)
    self.assertAllClose(val0, val2)
    self.assertAllClose(val1, val3)