Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Under wflow-core module
  • A base interface class to develop an input/post-processing option for the tensorflow plugin

Method Detail

Interface Methods
getName
public String getName();

Return the short name of the option

getLabel
public String getLabel();

Return the label of the option

getDescription
public String getDescription();

Return the description of the option

getUI
public String getUI();

Return the HTML UI to correct Input

getInitScript
public String getInitScript();

Return the javascript to initialize the UI

org.joget.ai.TensorFlowInput

Method Detail

Interface Methods
getInputs
public Tensor getInputs(Map params, String processId, Map<String, String> variables, Map<String, Object> tempDataHolder) throws IOException;

Return the Tensorflow Tensor object

Parameters

    • params - the parameters filled in the Tensorflow plugin UI
    • processId - the process instance id
    • variables - the workflow variable
    • tempDataHolder - A temporary data placeholder that can be used to cache a reusable data.

org.joget.ai.TensorFlowPostProcessing

Method Detail

Interface Methods
runPostProcessing
public void runPostProcessing(Map params, Map<String, Object> tfVariables, Map<String, String> variables, Map<String, Object> tempDataHolder) throws IOException;

Run post-processing to process the Tensorflow output.

Parameters

    • params - the parameters filled in the Tensorflow plugin UI
    • tfVariables - the output variables of Tensorflow
    • processId - the process instance id
    • variables - the workflow variable
    • tempDataHolder - A temporary data placeholder that can be used to cache a reusable data.