Class AbstractTFE_Context

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

@Properties(inherit=tensorflow.class) public abstract class AbstractTFE_Context extends Pointer
  • Field Details

  • Constructor Details

    • AbstractTFE_Context

      public AbstractTFE_Context(Pointer p)
  • Method Details

    • newContext

      public static TFE_Context newContext(TFE_ContextOptions opts, TF_Status status)
      Calls TFE_NewContext(), and registers a deallocator.
      Returns:
      TFE_Context created. Do not call TFE_DeleteContext() on it.
    • delete

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