grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
addVec
grain
chain
matrix + vector row-wise addition. TODO replace this with broadcasted addition
auto
addVec
(
T
alias
Storage
)
(
Variable
!(
T
, 2,
Storage
)
a
,
Variable
!(
T
, 1,
Storage
)
b
)
Meta
Source
See Implementation
grain
chain
functions
abs
addVec
convolution
cos
crossEntropy
dropout
exp
log
logSoftmax
matMul
neg
negativeLogLikelihood
opBinaryFunc
pow
reciprocal
relu
sigmoid
sin
squeeze
sum
tan
tanh
unsqueeze
view
structs
Convolution
Embedding
Linear
matrix + vector row-wise addition. TODO replace this with broadcasted addition