Function marian::inits::zeros¶
Defined in File node_initializers.h
Function Documentation¶
-
static Ptr<NodeInitializer>
marian::inits
::
zeros
()¶ Fill tensor with
0
.Creates a NodeInitializer that will initialize the given tensor with
0
. Works with any underlying numeric tensor type.- Return