TB
- V
- public class OngoingTensorBackedOperation<TB extends Tensorbacked<V>,V> extends java.lang.Object implements OngoingOperation<TB,V>
Tensorbacked
objects.Constructor and Description |
---|
OngoingTensorBackedOperation(Environment<V> environment,
TB left) |
Modifier and Type | Method and Description |
---|---|
TB |
elementDividedBy(TB right) |
TB |
elementDividedByV(V value) |
TB |
elementTimes(TB right)
Constructs a tensor backed object, of the same type as the input objects, which will contain elements which are
the products of the respective elements of the input objects.
|
TB |
elementTimesV(V value) |
TB |
minus(TB right) |
TB |
minusT(Tensor<V> tensor) |
TB |
minusV(V right) |
TB |
plus(TB right)
Allows to sum two
Tensorbacked . |
TB |
plusT(Tensor<V> tensor) |
TB |
plusV(V right) |
public OngoingTensorBackedOperation(Environment<V> environment, TB left)
environment
- the environment to useleft
- first Tensorbacked
to usepublic TB plus(TB right)
Tensorbacked
.plus
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
right
- as tensor to addpublic TB minus(TB right)
minus
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
public TB elementTimes(TB right)
elementTimes
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
right
- second Tensorbacked
to usepublic TB elementTimesV(V value)
elementTimesV
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
public TB elementDividedBy(TB right)
elementDividedBy
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
public TB elementDividedByV(V value)
elementDividedByV
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
public TB plusV(V right)
plusV
in interface OngoingOperation<TB extends Tensorbacked<V>,V>
public TB minusV(V right)
minusV
in interface OngoingOperation<TB extends Tensorbacked<V>,V>