TensorFlow
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
วิธีการอรรถประโยชน์แบบคงที่ที่อธิบายรันไทม์ TensorFlow
วิธีการสาธารณะ
ไบต์คงที่[] | loadLibrary (ชื่อไฟล์สตริง) โหลดไลบรารีไดนามิกในชื่อไฟล์และลงทะเบียนการดำเนินการและเคอร์เนลที่มีอยู่ในไลบรารีนั้น |
ไบต์คงที่[] | ลงทะเบียนOpList () การดำเนินการ TensorFlow ทั้งหมดที่มีอยู่ในพื้นที่ที่อยู่นี้ |
สตริงแบบคงที่ | รุ่น () ส่งคืนเวอร์ชันของรันไทม์ TensorFlow พื้นฐาน |
วิธีการสืบทอด
จากคลาส java.lang.Object บูลีน | เท่ากับ (วัตถุ arg0) |
คลาสสุดท้าย<?> | รับคลาส () |
ภายใน | แฮชโค้ด () |
โมฆะสุดท้าย | แจ้ง () |
โมฆะสุดท้าย | แจ้งทั้งหมด () |
สตริง | toString () |
โมฆะสุดท้าย | รอสักครู่ (ยาว arg0, int arg1) |
โมฆะสุดท้าย | รอ (ยาว arg0) |
โมฆะสุดท้าย | รอ () |
วิธีการสาธารณะ
ไบต์สาธารณะแบบคงที่ [] loadLibrary (ชื่อไฟล์สตริง)
โหลดไลบรารีไดนามิกในชื่อไฟล์และลงทะเบียนการดำเนินการและเคอร์เนลที่มีอยู่ในไลบรารีนั้น
พารามิเตอร์
ชื่อไฟล์ | เส้นทางของไลบรารีไดนามิกที่มีการดำเนินการและเคอร์เนลที่จะโหลด |
---|
การส่งคืน
- ไบต์ต่อเนื่องของข้อความบัฟเฟอร์โปรโตคอล OpList ซึ่งกำหนดการดำเนินการที่กำหนดไว้ในไลบรารี
ขว้าง
ไม่พอใจข้อผิดพลาดของลิงก์ | หากไม่สามารถโหลดชื่อไฟล์ได้ |
---|
ไบต์สาธารณะแบบคงที่ [] ลงทะเบียนOpList ()
การดำเนินการ TensorFlow ทั้งหมดที่มีอยู่ในพื้นที่ที่อยู่นี้
การส่งคืน
- การแสดงบัฟเฟอร์โปรโตคอล OpList แบบอนุกรม ซึ่งแสดงรายการการดำเนินการ TensorFlow ที่มีอยู่ทั้งหมด
เวอร์ชัน สตริงคงที่สาธารณะ ()
ส่งคืนเวอร์ชันของรันไทม์ TensorFlow พื้นฐาน
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers ส่วน Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ เนื้อหาบางส่วนได้รับอนุญาตภายใต้ใบอนุญาต NumPy
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# TensorFlow\n\npublic final class **TensorFlow** \nStatic utility methods describing the TensorFlow runtime. \n\n### Public Methods\n\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static byte\\[\\] | [loadLibrary](/versions/r2.12/api_docs/java/org/tensorflow/TensorFlow#loadLibrary(java.lang.String))(String filename) Load the dynamic library in filename and register the operations and kernels present in that library. |\n| static byte\\[\\] | [registeredOpList](/versions/r2.12/api_docs/java/org/tensorflow/TensorFlow#registeredOpList())() All the TensorFlow operations available in this address space. |\n| static String | [version](/versions/r2.12/api_docs/java/org/tensorflow/TensorFlow#version())() Returns the version of the underlying TensorFlow runtime. |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public static byte\\[\\]\n**loadLibrary**\n(String filename)\n\nLoad the dynamic library in filename and register the operations and kernels present in that\nlibrary. \n\n##### Parameters\n\n| filename | Path of the dynamic library containing operations and kernels to load. |\n|----------|------------------------------------------------------------------------|\n\n##### Returns\n\n- Serialized bytes of the [OpList](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer message defining the operations defined in the library. \n\n##### Throws\n\n| UnsatisfiedLinkError | if filename cannot be loaded. |\n|----------------------|-------------------------------|\n\n#### public static byte\\[\\]\n**registeredOpList**\n()\n\nAll the TensorFlow operations available in this address space. \n\n##### Returns\n\n- A serialized representation of an [OpList](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer, which lists all the available TensorFlow operations. \n\n#### public static String\n**version**\n()\n\nReturns the version of the underlying TensorFlow runtime."]]