From 93e8486b777fac3aaf49896523beca46184e704d Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Fri, 1 May 2020 15:50:21 +0200
Subject: [PATCH] Cleaning up

---
 .../pipelines/vanilla_biometrics/pipelines.py | 25 -------------------
 1 file changed, 25 deletions(-)

diff --git a/bob/bio/base/pipelines/vanilla_biometrics/pipelines.py b/bob/bio/base/pipelines/vanilla_biometrics/pipelines.py
index 48ba26d8..434c5208 100644
--- a/bob/bio/base/pipelines/vanilla_biometrics/pipelines.py
+++ b/bob/bio/base/pipelines/vanilla_biometrics/pipelines.py
@@ -146,28 +146,3 @@ class VanillaBiometricsPipeline(object):
 
         # scores is a list of Samples
         return scores
-
-
-def dask_vanilla_biometrics(pipeline, npartitions=None):
-    """
-    Given a :py:class:`VanillaBiometrics`, wraps :py:meth:`VanillaBiometrics.transformer` and
-    :py:class:`VanillaBiometrics.biometric_algorithm` with Dask delayeds
-
-    Parameters
-    ----------
-
-    pipeline: :py:class:`VanillaBiometrics`
-       Vanilla Biometrics based pipeline to be dasked
-
-
-    npartitions: int
-       Number of partitions for the initial `Dask.bag`
-    """
-
-    from bob.pipelines.mixins import estimator_dask_it, mix_me_up
-    from bob.bio.base.pipelines.vanilla_biometrics.mixins import BioAlgDaskMixin
-
-    transformer = estimator_dask_it(pipeline.transformer, npartitions=npartitions)
-    biometric_algorithm = mix_me_up([BioAlgDaskMixin], pipeline.biometric_algorithm)
-
-    return VanillaBiometrics(transformer, biometric_algorithm)
-- 
GitLab