DequantizeOp
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將指定 zeroPoint
和 scale
的 TensorBuffer
量化。
注意:輸出張量的資料類型一律為 FLOAT32
,除非 DequantizeOp 能夠有效做為識別身分運算而建立,例如將 zeroPoint
設為 0,並將 scale
設為 1 (在本例中,輸出張量與輸入相同)。
如果 zeroPoint
和 scale
皆為 0,就會略過 DequantizeOp
,相當於將 zeroPoint
設為 0,並將 scale
設為 1。這在傳遞直接從 TFLite 模型扁平緩衝區擷取的量化參數時,可能會很有幫助。如果張量未量化,zeroPoint
和 scale
皆會顯示為 0。
繼承的方法
來自類別 java.lang.Object
布林值
|
|
最終
課程<?>
|
getClass()
|
int
|
hashCode()
|
最終
void
|
notify()
|
最終
void
|
notifyAll()
|
字串 |
toString()
|
最終
void
|
wait(long arg0, int arg1)
|
最終
void
|
wait(long arg0)
|
最終
void
|
wait()
|
公用建構函式
public
DequantizeOp
(浮點值零點、浮點縮放)
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-05-14 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]