AbstractTF_Status
Stay organized with collections
Save and categorize content based on your preferences.
Public Methods
void
|
delete()
Calls the deallocator, if registered, otherwise has no effect.
|
static
TF_Status
|
newStatus()
Calls TF_NewStatus(), and registers a deallocator.
|
void
|
|
Inherited Methods
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Constructors
public
AbstractTF_Status
(Pointer p)
Public Methods
public
void
delete
()
Calls the deallocator, if registered, otherwise has no effect.
public
static
TF_Status
newStatus
()
Calls TF_NewStatus(), and registers a deallocator.
Returns
- TF_Status created. Do not call TF_DeleteStatus() on it.
public
void
throwExceptionIfNotOK
()
Map TF_Code to unchecked exception, and throw if not TF_OK.
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.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# AbstractTF_Status\n\npublic abstract class **AbstractTF_Status** \n\n|---|---|---|\n| Known Direct Subclasses [TF_Status](/jvm/api_docs/java/org/tensorflow/internal/c_api/TF_Status) |-------------------------------------------------------------------------|---| | [TF_Status](/jvm/api_docs/java/org/tensorflow/internal/c_api/TF_Status) | | |||\n\n### Public Constructors\n\n|---|-------------------------------------------------------------------------------------------------------------------------------|\n| | [AbstractTF_Status](/jvm/api_docs/java/org/tensorflow/internal/c_api/AbstractTF_Status#AbstractTF_Status(Pointer))(Pointer p) |\n\n### Public Methods\n\n|--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| void | [delete](/jvm/api_docs/java/org/tensorflow/internal/c_api/AbstractTF_Status#delete())() Calls the deallocator, if registered, otherwise has no effect. |\n| static [TF_Status](/jvm/api_docs/java/org/tensorflow/internal/c_api/TF_Status) | [newStatus](/jvm/api_docs/java/org/tensorflow/internal/c_api/AbstractTF_Status#newStatus())() Calls TF_NewStatus(), and registers a deallocator. |\n| void | [throwExceptionIfNotOK](/jvm/api_docs/java/org/tensorflow/internal/c_api/AbstractTF_Status#throwExceptionIfNotOK())() Map TF_Code to unchecked exception, and throw if not TF_OK. |\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 Constructors\n-------------------\n\n#### public\n**AbstractTF_Status**\n(Pointer p)\n\n\u003cbr /\u003e\n\nPublic Methods\n--------------\n\n#### public void\n**delete**\n()\n\nCalls the deallocator, if registered, otherwise has no effect. \n\n#### public static [TF_Status](/jvm/api_docs/java/org/tensorflow/internal/c_api/TF_Status)\n**newStatus**\n()\n\nCalls TF_NewStatus(), and registers a deallocator. \n\n##### Returns\n\n- TF_Status created. Do not call TF_DeleteStatus() on it. \n\n#### public void\n**throwExceptionIfNotOK**\n()\n\nMap TF_Code to unchecked exception, and throw if not TF_OK."]]