ResourceScatterNdMax
Metode yang Diwarisi
Dari kelas java.lang.Object boolean | sama (Object arg0) |
Kelas terakhir<?> | getClass () |
ke dalam | hashCode () |
kekosongan akhir | notify () |
kekosongan akhir | notifyAll () |
Rangkaian | toString () |
kekosongan akhir | menunggu (arg0 panjang, int arg1) |
kekosongan akhir | menunggu (arg0 panjang) |
kekosongan akhir | menunggu () |
Metode Publik
Metode pabrik untuk membuat kelas yang membungkus operasi ResourceScatterNdMax baru.
Parameter
cakupan | lingkup saat ini |
---|
ref | Sebuah pegangan sumber daya. Harus dari VarHandleOp. |
---|
indeks | Sebuah Tensor. Harus salah satu dari jenis berikut: int32, int64. Tensor indeks ke ref. |
---|
pembaruan | Sebuah Tensor. Harus memiliki tipe yang sama dengan ref. Tensor nilai yang elemennya max bijaksana diambil dengan ref |
---|
pilihan | membawa nilai atribut opsional |
---|
Kembali
- contoh baru ResourceScatterNdMax
Parameter
gunakanPenguncian | Sebuah bol opsional. Default ke Benar. Jika Benar, penugasan akan dilindungi oleh kunci; jika tidak, perilaku tidak terdefinisi, tetapi mungkin menunjukkan lebih sedikit pertentangan. |
---|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-05-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Informasi yang saya butuhkan tidak ada"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Terlalu rumit/langkahnya terlalu banyak"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Sudah usang"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Masalah terjemahan"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Masalah kode / contoh"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Lainnya"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Mudah dipahami"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Memecahkan masalah saya"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Lainnya"
}]