原创 函數的多種傳參方式與區別
函數的多種傳參方式與區別 1、值傳遞,形參不會修飾實參 2、地址傳遞,形參會修飾實參 3、引用傳遞,形參會修飾實參 #include<iostream> #include<string> using namespace std;
原创 Ubuntu18.04下配置VScode的C/C++開發環境
推薦Ubuntu16.04下配置VScode的C/C++開發環境:,親測Ubuntu 18.04(2020.05.13)也可用
原创 vim插件vundle簡單配置
按這兩篇博客: https://www.jianshu.com/p/c527d9c2717a, https://www.jianshu.com/p/c5c26db19903
原创 解決搜索路徑的問題 (Command not found)
解決搜索路徑的問題 (Command not found)
原创 Failed to convert object of type class 'tuple' to Tensor錯誤
Failed to convert object of type <class ‘tuple’> to Tensor. Contents: (None, -1, 128). Consider casting elements to
原创 tf.keras.layers.LSTMCell和tf.keras.layers.LSTM
tf.keras.layers.LSTMCell 在整個時間序列輸入中處理一個步驟,而 tf.keras.layer.LSTM處理整個序列 tf.keras.layers.LSTMCell API簡介: tf.keras.lay
原创 @tf.function()相關
https://www.bookstack.cn/read/TensorFlow2.0/spilt.4.3b87bc87b85cbe5d.md https://blog.csdn.net/qq_31456593/article/d
原创 unicodedata文本標準化處理
https://yiyibooks.cn/xx/python_352/library/unicodedata.html
原创 TensorFlow 2.0簡明入門指南
Tensorflow2.0雖說簡單易用,但是在日常使用過程中,仍有許多細節需要注意。那麼,本文主要轉載自 https://www.zybuluo.com/Team/note/1479565,對tensorflow2.0重要細節進行
原创 keras中Input的shape及batch_shape
Input(shape=None,batch_shape=None,name=None,dtype=K.floatx(),sparse=False,tensor=None) shape: 形狀元組(整型),不包括batch s
原创 動手學深度學習學習筆記tf2.0版(6.8 長短期記憶(LSTM))
注意一點就是: sigmoid函數和tanh函數有所區別: sigmoid將一個實數輸入映射到[0,1]範圍內 tanh函數將一個實數輸入映射到[-1,1]範圍內 不過兩者都有所優劣,Relu激活函數可以極大地加快收斂速度,相
原创 動手學深度學習學習筆記tf2.0版(6.9 深度循環神經網絡)
這個在概念上很好理解,就是疊加幾層,每層輸出作爲後層輸入,注意與雙向循環神經網絡的區別就好了
原创 動手學深度學習學習筆記tf2.0版(6.2 循環神經網絡)
區別在於,dense層就沒有 隱藏狀態,而RNN由於隱藏狀態的存在,使得前後時間序列產生了聯繫 import tensorflow as tf import numpy as np X, W_xh = tf.random.