1. 首页
  2. 数据库
  3. 其它
  4. keract:Keras中的激活图(层输出)和渐变 源码

keract:Keras中的激活图(层输出)和渐变 源码

上传者: 2021-02-22 18:44:04上传 ZIP文件 3.38MB 热度 8次
Keract:Keras激活+梯度 pip install keract 您刚刚找到了一种获取Keras模型每一层(LSTM,转换网络...)的激活(输出)和渐变的方法。 API 获取激活(节点/层输出为Numpy数组) keract . get_activations ( model , x , layer_names = None , nodes_to_evaluate = None , output_format = 'simple' , nested = False , auto_compile = True ) 获取Keras模型和输入X的激活(作为Numpy数组的节点/层
下载地址
用户评论