CMakeLists.txt 425 字节
Newer Older
1
set(OPITMIZER_SRCS
2 3 4
    adadelta_optimizer.cc
    adagrad_optimizer.cc
    adam_optimizer.cc
5 6
    optimizer.cc
    parameter_optimizer.cc
D
dzhwinter 已提交
7
    sgd_optimizer.cc
8 9
  )

Y
yuyang18 已提交
10 11 12 13 14 15 16
add_library(paddle_optimizer ${OPITMIZER_SRCS})
target_link_libraries(paddle_optimizer paddle_proto glog)

if (WITH_TESTING)
    add_unittest(serialization_test serialization_test.cc)
    add_unittest(parameter_optimizer_test parameter_optimizer_test.cc)
endif()