Beispiel #1
0
def save_model(root_op, filename):
    '''
    Save the network of `root_op` in `model_file`.

    Args:
        root_op (`:class:cntk.functions.Function`): op of the graph to save
        filename (`str`): filename to store the model in
    '''
    cntk_py.save_as_legacy_model(root_op, filename)
Beispiel #2
0
def save_model(root_op, filename):
    '''
    Save the network of `root_op` in `model_file`.

    Args:
        root_op (`:class:cntk.functions.Function`): op of the graph to save
        filename (`str`): filename to store the model in
    '''
    cntk_py.save_as_legacy_model(root_op, filename)
Beispiel #3
0
def save_as_legacy_model(root_op, filename):
    '''
    Save the network of ``root_op`` in ``filename``.
    For debugging purposes only, very likely to be deprecated in the future.

    Args:
        root_op (:class:`~cntk.ops.functions.Function`): op of the graph to save
        filename (str): filename to store the model in.
    '''
    cntk_py.save_as_legacy_model(root_op, filename)
Beispiel #4
0
def save_as_legacy_model(root_op, filename):
    '''
    Save the network of ``root_op`` in ``filename``.
    For debugging purposes only, very likely to be deprecated in the future.

    Args:
        root_op (:class:`~cntk.ops.functions.Function`): op of the graph to save
        filename (str): filename to store the model in.
    '''
    cntk_py.save_as_legacy_model(root_op, filename)