In-place replace specified placeholders in the Function graph with the specified replacements in the map.

func_replace_placeholders(func, substitutions)

Arguments

func

- The CNTK `Function` instance on which to apply the operation

substitutions

- dict mapping placeholders to variables