tf.tile

Function

tf.tile(input, multiples, name=None)

tile n. 瓷砖

通过拼接一个给定的tensor构建一个新的tensor
Constructs a tensor by tiling a given tensor.

output tensor 的第i维有 input.dims(i) * multiples[i] 个元素
This operation creates a new tensor by replicating input multiples times. The output tensor’s i’th dimension has input.dims(i) * multiples[i] elements, and the values of input are replicated multiples[i] times along the ‘i’th dimension. For example, tiling [a b c d] by [2] produces [a b c d a b c d].

Args:

input: A Tensor. 1-D or higher.

multiples: 一维整数tensor, 长度和输入tensor的维度相同
multiples: A Tensor. Must be one of the following types: int32, int64. 1-D. Length must be the same as the number of dimensions in input

name: A name for the operation (optional).

Returns:

A Tensor. Has the same type as input.

tensorflow function笔记: tf.tile相关推荐

  1. tensorflow 学习笔记-- tf.reduce_max、tf.sequence_mask

    1.tf.reduce_max函数的作用:计算张量的各个维度上的元素的最大值.例子: import tensorflow as tf max_value = tf.reduce_max([1, 3, ...

  2. Tensorflow学习笔记——tf.set_random_seed函数

    设置图级随机seed 依赖于随机seed的操作实际上从两个seed中获取:图级和操作级seed.这将设置图级别的seed 其与操作级seed的相互作用如下: 如果没有设置图级和操作级seed,则使用随 ...

  3. 【Tensorflow教程笔记】常用模块 tf.function :图执行模式

    基础 TensorFlow 基础 TensorFlow 模型建立与训练 基础示例:多层感知机(MLP) 卷积神经网络(CNN) 循环神经网络(RNN) 深度强化学习(DRL) Keras Pipeli ...

  4. 【TensorFlow实战笔记】对于TED(en-zh)数据集进行Seq2Seq模型实战,以及对应的Attention机制(tf保存模型读取模型)

    个人公众号 AI蜗牛车 作者是南京985AI硕士,CSDN博客专家,研究方向主要是时空序列预测和时间序列数据挖掘,获国家奖学金,校十佳大学生,省优秀毕业生,阿里天池时空序列比赛rank3.公众号致力于 ...

  5. [TensorFlow 学习笔记-06]激活函数(Activation Function)

    [版权说明] TensorFlow 学习笔记参考:  李嘉璇 著 TensorFlow技术解析与实战 黄文坚 唐源 著 TensorFlow实战郑泽宇  顾思宇 著 TensorFlow实战Googl ...

  6. tensorflow 之 tf.tile()函数

    这个函数是用来进行tensor维度扩展的,我们来看一下是怎么用的. 函数定义:tf.tile(input,multiples,name = None) input:表示输入tensor multipl ...

  7. tensorflow常用数据函数总结(tf.tile()、tf.expand_dims())

    tf.tile() tensorflow中的tile()函数是用来对张量(Tensor)进行扩展的,其特点是对当前张量内的数据进行一定规则的复制.最终的输出张量维度不变.也就是说tile可以某一维度的 ...

  8. TensorFlow学习笔记12----Creating Estimators in tf.contrib.learn

    原文教程:tensorflow官方教程 记录关键内容与学习感受.未完待续.. Creating Estimators in tf.contrib.learn --tf.contrib.learn框架, ...

  9. TensorFlow学习笔记02:使用tf.data读取和保存数据文件

    TensorFlow学习笔记02:使用tf.data读取和保存数据文件 使用`tf.data`读取和写入数据文件 读取和写入csv文件 写入csv文件 读取csv文件 读取和保存TFRecord文件 ...

最新文章

  1. SP10628 COT - Count on a tree (树剖+可持久化线段树)
  2. 可以永久改变你的编程技巧的40个Tips
  3. Nancy总结(三)Nancy资料介绍
  4. 插入最快mysql8.0_MySQL8.0大表秒加字段,是真的吗?
  5. 在已有SQL 2005 Server 群集中添加节点
  6. 线程池什么时候调用shutdown方法_ThreadPoolExecutor.shutdown()?
  7. ffmpeg 怎么用
  8. 洛谷 | P1219 八皇后(DFS)C++
  9. ModelAndView简介
  10. 图解设计模式:行为型模式之观察者模式
  11. 中值滤波器处理椒盐噪声
  12. oracle查看job运行,oracle job使用详解及job不运行的检查方法
  13. RxJS——异步数据流的响应式编程库(适合新手入门)
  14. 【学习笔记】刘晓艳英语语法笔记(2/6)——并列句
  15. 度度熊学队列(双端队列练习)
  16. AutoCAD2016安装破解教程
  17. python开源ip代理池_[技术]基于python实现的短效代理ip池程序
  18. 宽带中KB与Kb的区别
  19. performSelector使用教程
  20. 大二c++大作业,俄罗斯方块 c++实现,黑框框

热门文章

  1. 我做出一个决定!(2-3nian后时间来证明对错!)
  2. 机器学习常用算法的优缺点总结
  3. Jquery生成条形码到网页以及打印条形码
  4. 2020华为软挑热身赛代码开源-思路大起底(华为软件精英挑战赛编程闯关)
  5. 无法启动此程序,因为计算机中丢失opencv_core*d.dll vs2010
  6. React Profiler Chrome Tool
  7. Kafka常用命令之kafka-topics.sh
  8. python join函数报错_python中join()函数的使用方法
  9. 【博弈论】第二讲:纳什均衡的混合战略(有限数量战略)
  10. 海外博友链接集合(陆续更新中)