golem.math

Undocumented in source.

Members

Functions

acosh
Tensor!(T, Shape, useGradient) acosh(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
asinh
Tensor!(T, Shape, useGradient) asinh(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
batchSum
Tensor!(T, Shape[1..$], useGrad) batchSum(Tensor!(T, Shape, useGrad) x)
Undocumented in source. Be warned that the author may not have intended to support it.
concat
auto concat(T x, U y)
Undocumented in source. Be warned that the author may not have intended to support it.
concat2D
auto concat2D(T x, U y)
Undocumented in source. Be warned that the author may not have intended to support it.
conv2D
auto conv2D(Tensor!(T, ShapeX, useGradX) x, Tensor!(T, ShapeW, useGradW) weights, Tensor!(T, ShapeB, useGradB) bias)
Undocumented in source. Be warned that the author may not have intended to support it.
conv2DShape
size_t[] conv2DShape(size_t[] Shape, size_t channel_out, size_t[] kernel_size, size_t[] padding, size_t[] stride, size_t[] dilation)
Undocumented in source. Be warned that the author may not have intended to support it.
cosh
Tensor!(T, Shape, useGradient) cosh(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
dropout
Tensor!(T, Shape, useGradient) dropout(Tensor!(T, Shape, useGradient) x, float rate, bool isTrain)
Undocumented in source. Be warned that the author may not have intended to support it.
exp
Tensor!(T, Shape, useGradient) exp(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
flatten
Tensor!(T, [Shape[0], elementSize(Shape[1 .. $])], useGradient) flatten(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
leakyRelu
Tensor!(T, Shape, useGradient) leakyRelu(Tensor!(T, Shape, useGradient) x, T a)
Undocumented in source. Be warned that the author may not have intended to support it.
linear
Tensor!(T, [ShapeX[0], ShapeW[1]], useGradX | useGradW | useGradB) linear(Tensor!(T, ShapeX, useGradX) x, Tensor!(T, ShapeW, useGradW) W, Tensor!(T, ShapeB, useGradB) B)
Undocumented in source. Be warned that the author may not have intended to support it.
log
Tensor!(T, Shape, useGradient) log(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
makeConcatShape
size_t[] makeConcatShape(size_t[] lhs, size_t[] rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
mean
Tensor!(T, [1], useGradient) mean(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
mean
Tensor!(T, [Shape[0], 1], useGradient) mean(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
mergeEvenOdd2D
auto mergeEvenOdd2D(Tensor!(T, Shape, useGrad1) even, Tensor!(T, Shape, useGrad2) odd)
Undocumented in source. Be warned that the author may not have intended to support it.
projection1D
auto projection1D(Tensor!(T, ShapeX, useGradX) x, Tensor!(T, ShapeW, useGradW) w)
Undocumented in source. Be warned that the author may not have intended to support it.
relu
Tensor!(T, Shape, useGradient) relu(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
sigmoid
Tensor!(T, Shape, useGradient) sigmoid(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
sinh
Tensor!(T, Shape, useGradient) sinh(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
softmax
Tensor!(T, Shape, useGrad) softmax(Tensor!(T, Shape, useGrad) x)
Undocumented in source. Be warned that the author may not have intended to support it.
softmaxCrossEntropy
Tensor!(T, [Shape1[0], 1], useGrad) softmaxCrossEntropy(Tensor!(T, Shape1, useGrad) x, Tensor!(T, Shape2, UseGradient.no) y)
Undocumented in source. Be warned that the author may not have intended to support it.
softplus
Tensor!(T, Shape, useGradient) softplus(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
splitEvenOdd2D
auto splitEvenOdd2D(Tensor!(T, Shape, useGrad) images)
sum
Tensor!(T, [1], useGradient) sum(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
sum
Tensor!(T, [Shape[0], 1], useGradient) sum(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.
tanh
Tensor!(T, Shape, useGradient) tanh(Tensor!(T, Shape, useGradient) x)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

ConcatTensor
template ConcatTensor(TensorL, TensorR)
Undocumented in source.
broadcastOp
template broadcastOp(string op)
Undocumented in source.
broadcastOp
template broadcastOp(string op)
Undocumented in source.
multicastOp
template multicastOp(string op)
Undocumented in source.
multicastOp
template multicastOp(string op)
Undocumented in source.

Meta