Marian NMT
v1.11.5
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::gpu::Affine
View page source
Function marian::gpu::Affine
¶
Defined in
File prod.cpp
Function Documentation
¶
void
marian::
gpu
::
Affine
(
marian::Tensor
C
,
Ptr
<
Allocator
>
allocator
,
const
marian::Tensor &
A
,
const
marian::Tensor &
B
,
const
marian::Tensor &
bias
, bool
transA
, bool
transB
, float
beta
, float
scalar
, bool
do_relu
)
¶