file(GLOB_RECURSE _CURRENT_SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc")
set_property(SOURCE ${_CURRENT_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_MD)
add_library(engine-datasetops-source-sampler OBJECT
    distributed_sampler.cc
    pk_sampler.cc
    python_sampler.cc
    random_sampler.cc
    sampler.cc
    sequential_sampler.cc
    subset_random_sampler.cc
    weighted_random_sampler.cc
    )
