

def test_memory_layout():
    for (name, dtype) in product(FOREST_CLASSIFIERS, [np.float64, np.float32]):
        (yield (check_memory_layout, name, dtype))
    for (name, dtype) in product(FOREST_REGRESSORS, [np.float64, np.float32]):
        (yield (check_memory_layout, name, dtype))

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/ensemble/tests/test_forest.py test_memory_layout/original