def dump(self, f):

        if hasattr(f, 'buffer'):
            return pickle.dump(self, f.buffer)
        else:
            return pickle.dump(self, f)
Generator function for the 'bone' colormap. (Instead of faulty one
dataset/ETHPy150Open wiki-ai/revscoring/revscoring/scorer_models/scorer_model.py/ScorerModel.dump--crossover with--dataset/ETHPy150Open ptomato/Beams/beams/CameraImage.py/bone