TensorProcessor.Builder

public static class TensorProcessor.Builder

The Builder to create an TensorProcessor, which could be executed later.

Public Constructors

Builder()
Creates a Builder to build TensorProcessor.

Public Methods

Builder<TensorBuffer>
add(Operator<T> op)
TensorProcessor.Builder
add(TensorOperator op)
Adds an TensorOperator into the Operator chain.
TensorProcessor
build()
Completes the building process and gets the TensorProcessor instance.

Inherited Methods

Public Constructors

Public Methods

public Builder<TensorBuffer> add (Operator<T> op)

Parameters
op

public TensorProcessor.Builder add (TensorOperator op)

Adds an TensorOperator into the Operator chain.

Parameters
op the Operator instance to be executed then.

public TensorProcessor build ()

Completes the building process and gets the TensorProcessor instance.