
python
lai_cheng
Artificial Intelligence Research Center, Peng Cheng Lab(Shenzhen, China)
展开
-
背景: 设计和实现一个轻量化的深度学习库
**使用TensorFlow实现自己的深度学习库系列**# 背景**目的**:设计轻量级深度学习库,使用TensorFlow作为计算引擎,对其进行高层次封装,搭建一个自己的深度学习API,方便在工程实践中快速实现深度学习模型。Keras在2015年3月首次推出,作为一个对Theano的封装库,它为工程师和研究人员构建自己的深度学习模型提供了极大的便利。随着深度学习领域的高速发展,在2015年11月谷歌大脑团队推出了深度学习框架TensorFlow1.0,TensorFlow1.0作为深度学习框架中声原创 2021-12-16 13:40:13 · 1238 阅读 · 0 评论 -
TensorFlow初始化LSTM参数weight 和 bias
TensorFlow 初始化 LSTM 参数 weight 和 bias前言:前一篇博客介绍了如何可视化神经网络的每一层,很简单的做法就是将训练好数据作为神经网络的初始化参数进行前向传播。在LSTM中我们可以从官方文档看到能初始化的参数只有weight。在可视化时我们往往需要传入weight和bias,或者载入模型参数继续训练也需要载入w和b。初...原创 2019-11-25 11:40:47 · 4855 阅读 · 0 评论 -
python设置X轴刻度个数,刻度转换成其他文字,刻度旋转
#-*- coding: utf-8 -*-#---------------------------------------------------import numpy as npimport matplotlib.pyplot as pltfrom matplotlib.ticker import MultipleLocator, FormatStrFormatterimport...原创 2018-08-30 12:06:54 · 10690 阅读 · 0 评论 -
python实现两个超长度大数相加
#-*- coding: utf-8 -*-# You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add t...原创 2018-09-05 19:47:30 · 4016 阅读 · 0 评论