V
- the type of the elements of the tensor(ic)public class TensorExpressionSupport<V> extends ScalarIterableExpressionSupport<V>
Constructor and Description |
---|
TensorExpressionSupport(Environment<V> environment) |
Modifier and Type | Method and Description |
---|---|
OngoingDeferredTensorOperation<V> |
calculateT(Expression<Tensor<V>> tensoric)
Allows to perform calculation on given tensoric.
|
Expression<Tensor<V>> |
elementInverseOf(Expression<Tensor<V>> tensor) |
Expression<Tensor<V>> |
elementNegativeOf(Expression<Tensor<V>> tensor) |
Expression<Tensor<V>> |
ones(Shape shape)
|
Expression<Tensor<V>> |
zeros(Shape shape)
|
averageOf, averageOf, rmsOf, rmsOf, sizeOf, sizeOf, stdOf, stdOf, sumOf, sumOf, sumOfSquaresOf, sumOfSquaresOf, testIfIt
calculate, calculate, field, inverseOf, inverseOf, negativeOf, negativeOf, one, squareOf, squareOf, squareRootOf, squareRootOf, testIf, two, zero
public TensorExpressionSupport(Environment<V> environment)
public final OngoingDeferredTensorOperation<V> calculateT(Expression<Tensor<V>> tensoric)
tensoric
- to calculate with.public final Expression<Tensor<V>> zeros(Shape shape)
public final Expression<Tensor<V>> ones(Shape shape)
public final Expression<Tensor<V>> elementInverseOf(Expression<Tensor<V>> tensor)
tensor
- to use.Tensor
with field inverse valuespublic final Expression<Tensor<V>> elementNegativeOf(Expression<Tensor<V>> tensor)
tensor
- to useTensor
of negative values