import tensorflow as tf

    """
        expected_num_anchors = 0
        actual_num_anchors = 0
        for num_anchors_per_location, feature_map_shape, anchors in zip(
                self.num_anchors_per_location(), feature_map_shape_list, anchors_list):
            expected_num_anchors += (num_anchors_per_location
                                     * feature_map_shape[0]
                                     * feature_map_shape[1])
            actual_num_anchors += anchors.num_boxes()
        return tf.assert_equal(expected_num_anchors, actual_num_anchors)
