博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
tensorflow 数据格式
阅读量:2135 次
发布时间:2019-04-30

本文共 1259 字,大约阅读时间需要 4 分钟。

tf 支持数据格式

"""        x: Input data. It could be:          - A Numpy array (or array-like), or a list of arrays            (in case the model has multiple inputs).          - A TensorFlow tensor, or a list of tensors            (in case the model has multiple inputs).          - A dict mapping input names to the corresponding array/tensors,            if the model has named inputs.          - A `tf.data` dataset. Should return a tuple            of either `(inputs, targets)` or            `(inputs, targets, sample_weights)`.          - A generator or `keras.utils.Sequence` returning `(inputs, targets)`            or `(inputs, targets, sample weights)`.          A more detailed description of unpacking behavior for iterator types          (Dataset, generator, Sequence) is given below.        y: Target data. Like the input data `x`,          it could be either Numpy array(s) or TensorFlow tensor(s).          It should be consistent with `x` (you cannot have Numpy inputs and          tensor targets, or inversely). If `x` is a dataset, generator,          or `keras.utils.Sequence` instance, `y` should          not be specified (since targets will be obtained from `x`)."""
  1. numpy array
  2. tf.Tensor
  3. dict
  4. tf.data.dataSet
  5. generator keras.utils.Sequence

转载地址:http://klugf.baihongyu.com/

你可能感兴趣的文章
checkbox设置字体颜色
查看>>
第一篇 HelloWorld.java重新学起
查看>>
ORACLE表空间扩张
查看>>
orcal 循环执行sql
查看>>
web.xml配置监听器,加载数据库信息配置文件ServletContextListener
查看>>
结构型模式之桥接模式(Bridge)
查看>>
行为型模式之状态模式(State)
查看>>
行为型模式之策略模式(Strategy)
查看>>
行为型模式之模板方法模式(TemplateMethod)
查看>>
行为型模式之访问者模式(Visitor)
查看>>
大小端详解
查看>>
source insight使用方法简介
查看>>
<stdarg.h>头文件的使用
查看>>
C++/C 宏定义(define)中# ## 的含义 宏拼接
查看>>
Git安装配置
查看>>
linux中fork()函数详解
查看>>
C语言字符、字符串操作偏僻函数总结
查看>>
Git的Patch功能
查看>>
分析C语言的声明
查看>>
TCP为什么是三次握手,为什么不是两次或者四次 && TCP四次挥手
查看>>