import tensorflow as tf

            self.assertTrue(endpoint_name in explicit_padding_end_points)
            self.assertListEqual(
                explicit_padding_end_points[endpoint_name].get_shape().as_list(),
                expected_shape)

    def testBuildAndCheckAllEndPointsApproximateFaceNet(self):
        batch_size = 5
        height, width = 128, 128

        inputs = tf.random_uniform((batch_size, height, width, 3))
        with slim.arg_scope([slim.conv2d, slim.separable_conv2d],
                            normalizer_fn=slim.batch_norm):
            _, end_points = mobilenet_v1.mobilenet_v1_base(
                inputs, final_endpoint='Conv2d_13_pointwise', depth_multiplier=0.75)
            _, explicit_padding_end_points = mobilenet_v1.mobilenet_v1_base(
                inputs, final_endpoint='Conv2d_13_pointwise', depth_multiplier=0.75,
                use_explicit_padding=True)
        # For the Conv2d_0 layer FaceNet has depth=16
