tf2.1 Document
# tf2.1 Document
氵文大师
我年华虚度,空有一身疲倦
展开
-
tf.image.random_contrast——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/image/random_contrastAdjust the contrast of an image or images by a random factor. 该函数用于随机调整RGB图像的对比度。tf.image.random_contrast( imag...原创 2020-03-31 18:53:39 · 665 阅读 · 0 评论 -
tf.image.random_hue——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/image/random_hueAdjust the hue of RGB images by a random factor. 该函数用于随机调整RGB图像的色调。tf.image.random_hue( image, max_delta, seed=None...原创 2020-03-31 18:43:28 · 689 阅读 · 0 评论 -
tf.image.random_saturation——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/image/random_saturationAdjust the saturation of RGB images by a random factor. 该函数用于随机调整RGB图像的饱和度。tf.image.random_saturation( image,...原创 2020-03-31 18:35:43 · 723 阅读 · 0 评论 -
tf.clip_by_value——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/clip_by_valueClips tensor values to a specified min and max. "裁剪"张量使得张量的每个元素在给定的最小值和最大值之间。tf.clip_by_value( t, clip_value_min, clip_...原创 2020-03-31 18:08:31 · 306 阅读 · 0 评论 -
tf.image.random_brightness——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/image/random_brightnessAdjust the brightness of images by a random factor. 该函数用于随机调整图像的亮度。tf.image.random_brightness( image, max_del...原创 2020-03-31 17:35:44 · 1511 阅读 · 0 评论 -
tf.io.decode_jpeg——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/io/decode_jpegDecode a JPEG-encoded image to a uint8 tensor. 将JPEG编码的图像解码为uint8张量。tf.io.decode_jpeg( contents, channels=0, ratio=1, ...原创 2020-03-31 15:39:12 · 826 阅读 · 0 评论 -
tf.io.read_file——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/io/read_fileReads and outputs the entire contents of the input filename. 该函数用于读取并输出输入文件名的全部内容。tf.io.read_file( filename, name=None)...原创 2020-03-31 14:58:22 · 2368 阅读 · 0 评论 -
tf.stack——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/stackStacks a list of rank-R tensors into one rank-(R+1) tensor. 函数用于将R阶张量列表转换为R+1阶张量。tf.stack( values, axis=0, name='stack')Pack...原创 2020-03-31 10:02:00 · 297 阅读 · 0 评论 -
tf.keras.layers.MaxPool2D——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPool2DMax pooling operation for spatial data. 对空间数据进行 Max pooling 操作tf.keras.layers.MaxPool2D( pool_size=(2, 2), str...原创 2020-03-31 09:11:16 · 930 阅读 · 0 评论 -
tf.nn.max_pool2d——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/nn/max_pool2dPerforms the max pooling on the input.用于在输入中进行max pooling操作tf.nn.max_pool2d( input, ksize, strides, padding, data_forma...原创 2020-03-31 08:49:01 · 725 阅读 · 0 评论 -
tf.keras.layers.Conv2D——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv2D(笔者时间紧迫,暂时只将常用的参数记录,某若有闲时再补)2D convolution layer (e.g. spatial convolution over images). 该函数用于指明Keras中的2D卷积层.tf.kera...原创 2020-03-30 22:35:59 · 1652 阅读 · 0 评论 -
tf.name_scope——tf2.1 Document
参考自tf2.1官方文档:https://www.tensorflow.org/api_docs/python/tf/name_scope A context manager for use when defining a Python op. 用于定义Python操作op的上下文管理器tf.name_scope( name)This context manager pus...原创 2020-03-30 21:45:35 · 561 阅读 · 0 评论