IsotonicRegression

public final class IsotonicRegression

Solves a batch of isotonic regression problems.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static <U extends TNumber> IsotonicRegression<U>
create(Scope scope, Operand<? extends TNumber> input, Class<U> outputDtype)
Factory method to create a class wrapping a new IsotonicRegression operation.
static IsotonicRegression<TFloat32>
create(Scope scope, Operand<? extends TNumber> input)
Factory method to create a class wrapping a new IsotonicRegression operation using default output types.
Output<U>
output()
A (batch_size, dim)-tensor holding the per-batch element solutions.
Output<TInt32>
segments()
An int32 (batch_size, dim)-tensor with the segments.

Inherited Methods

org.tensorflow.op.RawOp
final boolean
equals(Object obj)
final int
Operation
op()
Return this unit of computation as a single Operation.
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
org.tensorflow.op.Op
abstract ExecutionEnvironment
env()
Return the execution environment this op was created in.
abstract Operation
op()
Return this unit of computation as a single Operation.

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "IsotonicRegression"

Public Methods

public static IsotonicRegression<U> create (Scope scope, Operand<? extends TNumber> input, Class<U> outputDtype)

Factory method to create a class wrapping a new IsotonicRegression operation.

Parameters
scope current scope
input A (batch_size, dim)-tensor holding a batch of inputs.
outputDtype Dtype of output.
Returns
  • a new instance of IsotonicRegression

public static IsotonicRegression<TFloat32> create (Scope scope, Operand<? extends TNumber> input)

Factory method to create a class wrapping a new IsotonicRegression operation using default output types.

Parameters
scope current scope
input A (batch_size, dim)-tensor holding a batch of inputs.
Returns
  • a new instance of IsotonicRegression

public Output<U> output ()

A (batch_size, dim)-tensor holding the per-batch element solutions.

public Output<TInt32> segments ()

An int32 (batch_size, dim)-tensor with the segments.