Function marian::inits::zeros

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

A NodeInitializer