cntk.default_options module¶
Default options of CNTK functions.
Usage:
with default_options():
, andwith default_options_for():
-
get_default_override
(function_or_class, **kwargs)[source]¶ Looks up an option default override. Meant to be used inside functions that use this facility.
Parameters: function – the function that calls this. For example:
def Convolution(args, init=default_override_or(glorot_uniform()), activation=default_override_or(identity), pad=default_override_or(False)): init = _get_default_override(Convolution, init=init) # pass default under the same name