自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Eureka

真的只是瞎逼写写,大家就当看个乐呵......

  • 博客(3)
  • 收藏
  • 关注

原创 numpy奇技淫巧篇

找出符合条件的元素的index:How to find the index of elements that satisfy certain conditions, at first, I think I can use a loop to realize it … but now that there exists lib … why bother to do that …np.argwhe...

2019-02-09 04:08:09 685 1

原创 TensorFlow奇技淫巧之快速读模型的部分参数

菜鸡笔记,不喜莫喷现在有一个完整的Transformer模型,但是我只想分析它Layer Normalization的参数;其他10810^8108左右的参数我不想看,看到就头大。已知这部分参数的名字大概有如下的patternlayer_prepostprocess/layer_norm/layer_norm_scale和layer_prepostprocess/layer_norm/la...

2019-02-08 03:20:22 462

原创 TensorFlow:数参数的总个数

没啥可说的,直接上脚本import tensorflow as tfmeta_graph_path = '/path-to-your-.meta-file'load_mod = tf.train.import_meta_graph(meta_graph_path)total_parameters = 0for variable in tf.trainable_variables():...

2019-02-07 06:18:46 1367

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除