Marian NMT
v1.11.3
Contents:
Code Organisation
Expression graphs
Operations in the expression graph
Layers
Using Marian with factors
Library API
How to contribute to Marian
Writing documentation
Marian NMT
»
Library API
»
Function marian::cpu::Affine
View page source
Function marian::cpu::Affine
¶
Defined in
File prod.cpp
Function Documentation
¶
void
marian::
cpu
::
Affine
(
marian::Tensor
C
,
Ptr
<
Allocator
>,
const
marian::Tensor &
A
,
const
marian::Tensor &
B
,
const
marian::Tensor &
bias
, bool
transA
, bool
transB
, float
beta
, float
scalar
, bool
reluPostprocess
)
¶