Class TensorflowExecutor

All Implemented Interfaces:
CompositeExecutionResource, ExecutionResource, Executor, ReferenceCountable

public class TensorflowExecutor extends ExecutorTemplate
Executor implementation for the TensorflowPlatform.
  • Constructor Details

  • Method Details

    • execute

      public void execute(ExecutionStage stage, OptimizationContext optimizationContext, ExecutionState executionState)
      Description copied from interface: Executor
      Executes the given stage.
      Parameters:
      stage - should be executed; must be executable by this instance, though
      executionState - provides and accepts execution-related objects @return collected metadata from instrumentation
    • addResource

      public void addResource(AutoCloseable resource)
    • getPlatform

      public Platform getPlatform()
      Returns:
      the Platform this instance belongs to
    • dispose

      public void dispose()
      Description copied from interface: Executor
      Releases any instances acquired by this instance to execute ExecutionStages.
      Specified by:
      dispose in interface ExecutionResource
      Specified by:
      dispose in interface Executor
      Overrides:
      dispose in class ExecutorTemplate