codecamp

TensorFlow调试器

TensorFlow Debugger(tfdbg)的公共 Python API。

用于添加调试表的函数

当运行时执行 TensorFlow 图时,这些函数可帮助您进行修改 RunOptions 以指定要监视的张量。

  • tfdbg.add_debug_tensor_watch
  • tfdbg.watch_graph
  • tfdbg.watch_graph_with_blacklists

用于调试转储数据和目录的类

这些类允许您在运行时加载和检查从 TensorFlow 图转储的张量值。

  • tfdbg.DebugTensorDatum
  • tfdbg.DebugDumpDir

用于加载调试转储数据的函数

  • tfdbg.load_tensor_from_event_file

张量值谓词

内置张量滤波器谓词,用于支持运行之间的条件断点。

  • tfdbg.has_inf_or_nan

会话包装类和`SessionRunHook`实现

这些类允许你    :

  • 包装 aroundTensorFlow 会话对象来调试普通的 TensorFlow 模型(见 DumpingDebugWrapperSession 和 LocalCLIDebugWrapperSession)
  • 生成 SessionRunHook 对象来调试 tf.contrib.learn 模型(参见 DumpingDebugHook和LocalCLIDebugHook)。
  • tfdbg.DumpingDebugHook
  • tfdbg.DumpingDebugWrapperSession
  • tfdbg.LocalCLIDebugHook
  • tfdbg.LocalCLIDebugWrapperSession
TensorFlow 张量变换
TensorFlow 测试
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

TensorFlow 函数介绍

TensorFlow 函数模块:tf

TensorFlow的image模块

TensorFlow使用之tf.io

TensorFlow使用之tf.keras

TensorFlow函数教程:tf.keras.applications

TensorFlow函数教程:tf.keras.backend

TensorFlow使用之tf.metrics

TensorFlow使用之tf.nn

TensorFlow使用之tf.python_io

TensorFlow 功能函数

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }