# Function marian::inits::fromTensor¶

## 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