Function marian::inits::fromTensor¶
Defined in File node_initializers.cpp
Function Documentation¶
-
Ptr<NodeInitializer>
marian::inits
::
fromTensor
(Tensor tensor)¶ Initialize tensor by copying from the given tensor.
Creates a NodeInitializer that will initialize the tensor by copying the values from the given tensor.
- Return