codecamp

TensorFlow模块:tf.initializers

模块:tf.initializers

用于 Python API 的导入.

这个文件是MACHINE GENERATED!不要编辑.生成者:tensorflow/tools/api/generator/create_python_api.py脚本.

class constant:生成具有常量值的张量的初始化程序.

class identity:生成单位矩阵的初始化程序.

class ones:生成初始化为1的张量的初始化程序.

class orthogonal:生成正交矩阵的初始化程序.

class random_normal:用正态分布产生张量的初始化程序.

class random_uniform:生成具有均匀分布的张量的初始化程序.

class truncated_normal:生成截断正态分布的初始化程序.

class uniform_unit_scaling:生成张量而不缩放方差的初始化程序.

class variance_scaling:初始化程序能够根据权重张量的形状调整其比例.

class zeros:生成初始化为0的张量的初始化程序.

功能

global_variables(...):返回初始化全局变量的操作.

local_variables(...):返回初始化所有局部变量的操作.

variables(...):返回初始化变量列表的操作.

其他成员

__cached__

__loader__

__spec__

TensorFlow函数:tf.image.yuv_to_rgb
TensorFlow函数:tf.initializers.identity
温馨提示
下载编程狮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; }