alibaba / alibaba/x-deeplearning

XDL_LOG无法打印数值类型?

Open
#115 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

运行deepctr示例,CMakeLists.txt 设置CMAKE_BUILD_TYPE=Debug
查看输出日志,如图,XDL_LOG和std::cout都打印不出数值类型(int, long, unsinged..., double),但是printf可以正常打印。
![image](https://user-images.githubusercontent.com/9496690/52036277-bf214a80-2567-11e9-81fb-31a12c92c662.png)

是 << 的问题?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the deepctr example with CMAKE_BUILD_TYPE=Debug as described, then compare numeric output from XDL_LOG, std::cout, and printf. Start with the logging entry point and the CMakeLists.txt configuration; done means int, long, unsigned, and double values print correctly through XDL_LOG.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.