提交 f504c8a8 编写于 作者: W wangmeng28

Remove unnecessary configs

上级 28c98103
......@@ -2371,10 +2371,8 @@ void testFactorizationMachineLayer(InputType type, bool useGpu) {
TEST(Layer, FactorizationMachineLayer) {
testFactorizationMachineLayer(INPUT_DATA, false);
testFactorizationMachineLayer(INPUT_SPARSE_FLOAT_VALUE_DATA, false);
#ifdef PADDLE_WITH_CUDA
testFactorizationMachineLayer(INPUT_DATA, true);
#endif
testFactorizationMachineLayer(INPUT_SPARSE_FLOAT_VALUE_DATA, false);
}
int main(int argc, char** argv) {
......
from paddle.trainer_config_helpers import *
settings(batch_size=1000, learning_rate=1e-5)
data = data_layer(name='data', size=1024)
fm = factorization_machine(input=data, factor_size=10)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册