文章 2017-10-11 来自:开发者社区

Yii2框架RESTful API教程

前不久做一个项目,是用Yii2框架写一套RESTful风格的API,就去查了下《Yii 2.0 权威指南 》,发现上面写得比较简略。所以就在这里写一篇教程贴,希望帮助刚接触Yii2框架RESTful的小伙伴快速入门。 一、目录结构 实现一个简单地RESTful API只需用到三个文件。目录如下: frontend ├─ config │ └ main.php ├...

Yii2框架RESTful API教程
文章 2017-08-04 来自:开发者社区

TensorFlow教程之API DOC 6.3.6. IMAGE

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Images Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor. Contents Images Encoding and Decoding ...

文章 2017-08-03 来自:开发者社区

TensorFlow教程之API DOC 6.3.13. STATE OPS

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Variables Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor. Contents Variables Variables class ...

文章 2017-08-03 来自:开发者社区

TensorFlow教程之API DOC 6.3.10. NN

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Neural Network Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor. Contents Neural Network Activa...

TensorFlow教程之API DOC 6.3.10. NN
文章 2017-08-03 来自:开发者社区

TensorFlow教程之API DOC 6.1.1Class tensorflow::Env

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Class tensorflow::Env An interface used by the tensorflow implementation to access operating system functionality like the filesystem etc. Callers may w...

文章 2017-08-02 来自:开发者社区

Python API快餐教程(1) - 字符串查找API

字符串处理相关API 字符串是7种序列类型中的一种。除了序列的操作函数,比如len()来求字符串长度之外,Python还为字符串提供丰富到可以写个编辑器的API. 查找类API 首先,下面的查找API都是为了查找位置,或者查一共有几次这样的操作。如果只是想判断一个字符串是不是另一个字符串的子串的话,使用序列的in运算符就可以了。例: str1 = "hahahahaha,heiheihei" .....

文章 2017-08-02 来自:开发者社区

TensorFlow教程之API DOC 6.3.12. SPARSE OPS

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Sparse Tensors Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor. Contents Sparse Tensors Sparse...

文章 2017-08-02 来自:开发者社区

TensorFlow教程之API DOC 6.3.7. INDEX

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 TensorFlow Python reference documentation Building Graphs: add_to_collection as_dtype control_dependencies convert_to_tensor device Dimension DType get...

文章 2017-08-02 来自:开发者社区

TensorFlow教程之API DOC 6.3.2. CLIENT

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Running Graphs Contents Running Graphs Session management class tf.Session class tf.InteractiveSession tf.get_default_session() Error classes clas...

文章 2017-08-01 来自:开发者社区

TensorFlow教程之API DOC 6.3.11. PYTHON IO

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 Data IO (Python functions) Contents Data IO (Python functions) Data IO (Python Functions) class tf.python_io.TFRecordWriter tf.python_io.tf_record_itera...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐