Blog
More writing
View archive →
GeoHash algorithm
最近遇到一个问题:K 个距离最近商铺问题。用户实时汇报其坐标,需要返回距离其最近的 K 个商铺 问题。

Merge tensorflow models
Sometimes you want to transfer certain weights from multiple models into a single model or just want to merge multiple models. There are at least t...

Estimator core in evaluator
记录另外一次 Estimator 的 core 排查。

Estimator OOM after export model frequently
最近用户反馈一个 Estimator 的问题,OOM (out of memory)。由于完全使用的是 Estimator 的逻辑,出错问题 排查了很久。最终使用多个工具找到问题的根源。ps_util 打印内存,objgraph 寻找内存泄露。

Feature column a tutorial

Estimator a tutorial
介绍 Estiamtor 相关知识。

Python unittest and unittest.mock
Each language has its own known testing framework which makes writing test cases easier. In Python, the standard and built-in are unittest module. ...

Tensorflow save and restore A tutorial

Enum in Cpp and Python
Enum is very commonly used both in cpp and python. In this blog, we will introduce enumeration in cpp and python.

How does tensorflow create a kernel?
This is one of the series of describing how tensorflow works. I will do my best to understand and experiment with tensorflow. In this blog I will i...