public interface DoubleTensor extends FloatingPointTensor<java.lang.Double,DoubleTensor>
Tensor.FlattenedView<N>ONE_BY_ONE_SHAPE, SCALAR_SHAPE, SCALAR_STRIDE| Modifier and Type | Method and Description |
|---|---|
static DoubleTensor |
arange(double end) |
static DoubleTensor |
arange(double start,
double end) |
static DoubleTensor |
arange(double start,
double end,
double stepSize) |
static DoubleTensor |
concat(DoubleTensor... toConcat) |
static DoubleTensor |
concat(int dimension,
DoubleTensor... toConcat) |
static DoubleTensor |
create(double... values) |
static DoubleTensor |
create(double[] values,
long... shape) |
static DoubleTensor |
create(double value,
long[] shape) |
default DoubleTensor |
div(double value) |
static DoubleTensor |
eye(long n) |
static DoubleTensor |
linspace(double start,
double end,
int numberOfPoints) |
static DoubleTensor |
max(DoubleTensor a,
DoubleTensor b) |
static DoubleTensor |
min(DoubleTensor a,
DoubleTensor b) |
default DoubleTensor |
minus(double value) |
static DoubleTensor |
ones(long... shape) |
default DoubleTensor |
plus(double value) |
default DoubleTensor |
pow(double exponent) |
default DoubleTensor |
reverseDiv(double value) |
default DoubleTensor |
reverseMinus(double value) |
static DoubleTensor |
scalar(double scalarValue) |
static DoubleTensor |
stack(int dimension,
DoubleTensor... toStack) |
default DoubleTensor |
times(double value) |
static DoubleTensor |
vector(double... values) |
static DoubleTensor |
zeros(long... shape) |
acos, acosh, acoshInPlace, acosInPlace, asin, asinh, asinhInPlace, asinInPlace, atan, atan2, atan2, atan2InPlace, atan2InPlace, atanh, atanhInPlace, atanInPlace, ceil, ceilInPlace, choleskyDecomposition, cos, cosh, coshInPlace, cosInPlace, determinant, digamma, digammaInPlace, exp, exp2, exp2InPlace, expInPlace, expM1, expM1InPlace, floor, floorInPlace, isFinite, isInfinite, isNaN, isNegativeInfinity, isPositiveInfinity, log, log10, log10InPlace, log1p, log1pInPlace, log2, log2InPlace, logAddExp, logAddExp2, logAddExp2InPlace, logAddExpInPlace, logGamma, logGammaInPlace, logInPlace, matrixInverse, nanArgMax, nanArgMax, nanArgMin, nanArgMin, notNaN, reciprocal, reciprocalInPlace, replaceNaN, replaceNaNInPlace, round, roundInPlace, sigmoid, sigmoidInPlace, sin, sinh, sinhInPlace, sinInPlace, sqrt, sqrtInPlace, standardize, standardizeInPlace, tan, tanh, tanhInPlace, tanInPlaceabs, absInPlace, apply, applyInPlace, argMax, argMax, argMin, argMin, asFlatDoubleArray, asFlatIntegerArray, average, clamp, clampInPlace, cumProd, cumProdInPlace, cumSum, cumSumInPlace, div, div, divInPlace, divInPlace, equalsWithinEpsilon, greaterThan, greaterThan, greaterThanMask, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqualToMask, lessThan, lessThan, lessThanMask, lessThanOrEqual, lessThanOrEqual, lessThanOrEqualToMask, matrixMultiply, max, max, maxInPlace, min, min, minInPlace, minus, minus, minusInPlace, minusInPlace, plus, plus, plusInPlace, plusInPlace, pow, pow, powInPlace, powInPlace, product, product, reverseDiv, reverseDiv, reverseDivInPlace, reverseDivInPlace, reverseMinus, reverseMinus, reverseMinusInPlace, reverseMinusInPlace, safeLogTimes, safeLogTimesInPlace, setAllInPlace, setWithMask, setWithMaskInPlace, standardDeviation, sum, sum, tensorMultiply, times, times, timesInPlace, timesInPlace, toDouble, toInteger, unaryMinus, unaryMinusInPlaceasFlatArray, asFlatList, broadcast, create, createFilled, diag, duplicate, elementwiseEquals, elementwiseEquals, elementwiseEquals, expandDims, get, getFlattenedView, getLength, getRank, getShape, getStride, getValue, hasSameShapeAs, hasSameShapeAs, isLengthOne, isMatrix, isScalar, isVector, moveAxis, permute, reshape, scalar, setValue, slice, slice, slice, sliceAlongDimension, split, squeeze, swapAxis, take, transposestatic DoubleTensor create(double value, long[] shape)
static DoubleTensor create(double[] values, long... shape)
static DoubleTensor create(double... values)
static DoubleTensor ones(long... shape)
static DoubleTensor eye(long n)
static DoubleTensor zeros(long... shape)
static DoubleTensor linspace(double start, double end, int numberOfPoints)
static DoubleTensor arange(double start, double end)
start - start of rangeend - end of range (exclusive)static DoubleTensor arange(double end)
static DoubleTensor arange(double start, double end, double stepSize)
start - start of rangeend - end of range (exclusive)stepSize - size of step from start to endstatic DoubleTensor scalar(double scalarValue)
scalar in interface Tensor<java.lang.Double,DoubleTensor>static DoubleTensor vector(double... values)
static DoubleTensor stack(int dimension, DoubleTensor... toStack)
dimension - the dimension along which toStack are stackedtoStack - an array of DoubleTensor's of the same shapee.g. A, B, C = DoubleTensor.ones(4, 2)
DoubleTensor.stack(0, A, B, C) gives DoubleTensor.ones(3, 4, 2)
DoubleTensor.stack(1, A, B, C) gives DoubleTensor.ones(4, 3, 2)
DoubleTensor.stack(2, A, B, C) gives DoubleTensor.ones(4, 2, 3)
DoubleTensor.stack(-1, A, B, C) gives DoubleTensor.ones(4, 2, 3)
static DoubleTensor concat(DoubleTensor... toConcat)
static DoubleTensor concat(int dimension, DoubleTensor... toConcat)
dimension - the dimension along which the tensors will be joinedtoConcat - an array of DoubleTensore.g. A, B, C = DoubleTensor.ones(4, 2)
DoubleTensor.concat(0, A, B, C) gives DoubleTensor.ones(12, 2)
static DoubleTensor min(DoubleTensor a, DoubleTensor b)
static DoubleTensor max(DoubleTensor a, DoubleTensor b)
default DoubleTensor plus(double value)
plus in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>default DoubleTensor minus(double value)
minus in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>default DoubleTensor reverseMinus(double value)
reverseMinus in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>default DoubleTensor times(double value)
times in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>default DoubleTensor div(double value)
div in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>default DoubleTensor reverseDiv(double value)
reverseDiv in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>default DoubleTensor pow(double exponent)
pow in interface io.improbable.keanu.kotlin.DoubleOperators<DoubleTensor>