摘要:        
python机器学习库numpy 7.1、生成随机数-均匀分布 一、总结 一句话总结: 均匀分布常用主要四个方法,表示[0, 1)之间均匀分布的rand和random,表示[low, high)之间的uniform,随机整数randint a、服从[0, 1)之间的均匀分布: numpy.rando    阅读全文
posted @ 2020-08-27 05:41
范仁义
阅读(17393)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Tensorflow2(预课程) 1.4.1、自动计算梯度 一、总结 一句话总结: 将变量指定为Variable,就不需要tape.watch([a, b, c])步骤了,tensorflow自动给你做了 import tensorflow as tf x = tf.constant(1.) a =    阅读全文
posted @ 2020-08-27 04:18
范仁义
阅读(328)
评论(0)
推荐(0)
        
            
        
        
摘要:        
python基础_格式化输出(%用法和format用法) 一、总结 一句话总结: A、%是格式化占位输出,就像c语言的printf方法一样,比如 text1.set_text('w=%.4f,b=%.4f,step=%d' %(bw_list[i][1],bw_list[i][0],i)) B、fo    阅读全文
posted @ 2020-08-27 03:35
范仁义
阅读(1487)
评论(0)
推荐(0)
        
 
    
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号