diff --git a/doc/fluid/api_cn/layers-breakdown.py b/doc/fluid/api_cn/layers-breakdown.py new file mode 100644 index 0000000000000000000000000000000000000000..5169917ed54d1d9b07f8b7c8395114f8f360ef9f --- /dev/null +++ b/doc/fluid/api_cn/layers-breakdown.py @@ -0,0 +1,73 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8 -*- +""" +Created on Tue Jun 25 21:36:04 2019 + + +break down layers_cn to its sub categories + +@author: haowang101779990 +""" + +import sys +import os +import re + +stdi,stdo,stde=sys.stdin,sys.stdout,sys.stderr +reload(sys) +sys.stdin,sys.stdout,sys.stderr=stdi,stdo,stde +sys.setdefaultencoding('utf-8') + +srcfile=open("layers_cn.rst",'r') +srclines=srcfile.readlines() +srcfile.close() + +titles={} + +i=0 +while i