Class AbstractTF_Status

java.lang.Object
org.bytedeco.javacpp.Pointer
org.tensorflow.internal.c_api.AbstractTF_Status
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
TF_Status

@Properties(inherit=tensorflow.class) public abstract class AbstractTF_Status extends Pointer
  • Constructor Details

    • AbstractTF_Status

      public AbstractTF_Status(Pointer p)
  • Method Details

    • newStatus

      public static TF_Status newStatus()
      Calls TF_NewStatus(), and registers a deallocator.
      Returns:
      TF_Status created. Do not call TF_DeleteStatus() on it.
    • delete

      public void delete()
      Calls the deallocator, if registered, otherwise has no effect.
    • throwExceptionIfNotOK

      public void throwExceptionIfNotOK()
      Map TF_Code to unchecked exception, and throw if not TF_OK.