Debugging guide
This commit is contained in:
Родитель
2c099bbd87
Коммит
61d524e8c0
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,20 @@
|
|||
# Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
# Licensed under the MIT license. See LICENSE.md file in the project root
|
||||
# for full license information.
|
||||
# ==============================================================================
|
||||
|
||||
import os
|
||||
import re
|
||||
import numpy as np
|
||||
|
||||
abs_path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
notebook = os.path.join(abs_path, "..", "..", "..", "..", "Manual", "Manual_How_to_debug.ipynb")
|
||||
|
||||
#Note: Given this is a manual for debugging, we check only for functional correctness of API.
|
||||
|
||||
def test_debugging_cntk_noErrors(nb):
|
||||
errors = [output for cell in nb.cells if 'outputs' in cell
|
||||
for output in cell['outputs'] if output.output_type == "error"]
|
||||
assert errors == []
|
Загрузка…
Ссылка в новой задаче