register_udf_deserialize_callback: Register UDF Deserialize Callback

Description Usage Arguments Details

Description

Register a callback function to be invoked when deserializing a user- defined function with the corresponding op name.

Usage

1

Arguments

callback

Details

When loading a model, CNTK will try to automatically reconstruct any (non-native) user-defined functions by invoking a static deserialize() method of the corresponding UserFunction sub-class. This method allows to override default UDF deserialization behavior by specifying a user- defined function op name and the corresponding callback that should be invoked instead of the deserialize method.


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.