चेतावनी: इस एपीआई को पदावनत कर दिया गया है और प्रतिस्थापन के स्थिर होने के बाद इसे TensorFlow के भविष्य के संस्करण में हटा दिया जाएगा।
TensorFlow
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
TensorFlow रनटाइम का वर्णन करने वाली स्थैतिक उपयोगिता विधियाँ।
सार्वजनिक तरीके
स्थिर बाइट[] | लोड लाइब्रेरी (स्ट्रिंग फ़ाइल नाम) डायनामिक लाइब्रेरी को फ़ाइल नाम में लोड करें और उस लाइब्रेरी में मौजूद संचालन और कर्नेल को पंजीकृत करें। |
स्थिर बाइट[] | पंजीकृतऑपलिस्ट () इस एड्रेस स्पेस में सभी TensorFlow ऑपरेशन उपलब्ध हैं। |
स्थिर स्ट्रिंग | संस्करण () अंतर्निहित TensorFlow रनटाइम का संस्करण लौटाता है। |
विरासत में मिली विधियाँ
कक्षा java.lang.Object से बूलियन | बराबर (ऑब्जेक्ट arg0) |
अंतिम कक्षा<?> | गेटक्लास () |
int यहाँ | हैश कोड () |
अंतिम शून्य | सूचित करें () |
अंतिम शून्य | सभी को सूचित करें () |
डोरी | स्ट्रिंग () |
अंतिम शून्य | प्रतीक्षा करें (लंबा arg0, int arg1) |
अंतिम शून्य | प्रतीक्षा करें (लंबा arg0) |
अंतिम शून्य | इंतज़ार () |
सार्वजनिक तरीके
सार्वजनिक स्थैतिक बाइट[] लोड लाइब्रेरी (स्ट्रिंग फ़ाइल नाम)
डायनामिक लाइब्रेरी को फ़ाइल नाम में लोड करें और उस लाइब्रेरी में मौजूद संचालन और कर्नेल को पंजीकृत करें।
पैरामीटर
फ़ाइल का नाम | गतिशील लाइब्रेरी का पथ जिसमें लोड करने के लिए संचालन और कर्नेल शामिल हैं। |
---|
रिटर्न
- लाइब्रेरी में परिभाषित संचालन को परिभाषित करने वाले ओपलिस्ट प्रोटोकॉल बफ़र संदेश के क्रमबद्ध बाइट्स।
फेंकता
असंतुष्टलिंकत्रुटि | यदि फ़ाइल नाम लोड नहीं किया जा सकता है। |
---|
सार्वजनिक स्थैतिक बाइट[] पंजीकृतऑपलिस्ट ()
इस एड्रेस स्पेस में सभी TensorFlow ऑपरेशन उपलब्ध हैं।
रिटर्न
- OpList प्रोटोकॉल बफ़र का एक क्रमबद्ध प्रतिनिधित्व, जो सभी उपलब्ध TensorFlow संचालन को सूचीबद्ध करता है।
सार्वजनिक स्थैतिक स्ट्रिंग संस्करण ()
अंतर्निहित TensorFlow रनटाइम का संस्करण लौटाता है।
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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](/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](/api_docs/java/org/tensorflow/TensorFlow#registeredOpList())() All the TensorFlow operations available in this address space. |\n| static String | [version](/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."]]