acos函数是反余弦函数

#!/usr/bin/env python2
# -*- coding: utf-8 -*-import tensorflow as tf
a = tf.constant([[0.1, -0.2], [-0.3, 0.4]])
result1=tf.acos(a)sess=tf.Session()
with sess:print sess.run(result1)

[[1.4706289 1.7721543]
[1.875489 1.1592795]]

acosh反双曲余弦-X中元素的反双曲余弦

#!/usr/bin/env python2
# -*- coding: utf-8 -*-import tensorflow as tf
a = tf.constant([[1., 2.], [3., 4.]])
result1=tf.acosh(a)sess=tf.Session()
with sess:print sess.run(result1)

[[0. 1.316958 ]
[1.7627472 2.063437 ]]

tensorflow随笔-acosh,acos相关推荐

  1. tensorflow随笔-队列管理器QueueRunner-生产者与消费者

    # -*- coding: utf-8 -*- """ Spyder EditorThis is a temporary script file. "" ...

  2. tensorflow随笔-随机数

    Aliases: tf.compat.v1.random.normal tf.compat.v1.random_normal tf.compat.v2.random.normal tf.random_ ...

  3. tensorflow随笔-读取图像文件数据(2)-TFRecord

    写文件 代码如下 # -*- coding: utf-8 -*- """ Created on Tue May 7 18:29:30 2019@author: liuxi ...

  4. tensorflow随笔-读取图像文件数据(1)

    # -*- coding: utf-8 -*- """ Created on Tue May 7 18:29:30 2019@author: liuxing @email ...

  5. tensorflow随笔-constant

    # -*- coding: utf-8 -*-import tensorflow as tf import numpy as np a=tf.constant(np.array([[6,2]],dty ...

  6. tensorflow随笔-条件循环控制(4)

    例如非严格语义的示例:在下面的示例中,计数器i的最终值不依赖于x.while_loop可并行地增加计数器,并更新x. #!/usr/bin/env python2 # -*- coding: utf- ...

  7. tensorflow随笔-条件循环控制(2)

    tf.count_up_to tf.count_up_to( ref, limit, name=None ) 增加"ref"直到它达到"limit" 参数: r ...

  8. tensorflow随笔-队列(1)

    tf.FIFOQueue Class FIFOQueue 先进先出的队列 属性 dtypes 队列元素的每个组件的dtypes列表 name 队列名字 基础队列的名称. names 队列元素的每个组件 ...

  9. TensorFlow随笔-多分类单层神经网络softmax

    #!/usr/bin/env python2 # -*- coding: utf-8 -*-import tensorflow as tf from tensorflow.examples.tutor ...

最新文章

  1. c 取地址 虚拟地址 物理地址_通过linux0.11源码理解进程的虚拟地址、线性地址、物理地址...
  2. 最近跑hadoop遇到的一些问题
  3. cornerMinEigenVal函数
  4. 各种不同几何形状布局布阵下的GDOP相对值图
  5. Leaflet实现地图分屏联动
  6. RocketMQ集群之集群模式讲解
  7. c#进阶(2)—— ASP.NET MVC 常用路由总结
  8. Python中的eval()、exec()及其相关函数
  9. anaconda新建python2环境安装不了jupyterlab_python/conda/jupyter-lab虚拟环境管理
  10. 规则引擎--规则引擎构成重点
  11. 免费的JavaScript书籍资源
  12. ajax实现文件表单上传,ajax文件异步实现表单上传
  13. 机器学习领域著名的期刊与会议
  14. 独孤求败-小滴云架构大课十八式【xiaoecf】
  15. 25种让你精力充沛的方法
  16. 输出4+44+444+4444
  17. Mysql之查看数据库版本
  18. 干支纪年法简便算法_初中阶段常用的四种历史纪年法
  19. 开发工具---Eclipse 教程Ⅰ
  20. 英语作文计算机80词九年级,英语作文80词左右初三10篇

热门文章

  1. nowcoder20C 位数差
  2. Beaglebone Black USB联机
  3. 台湾ML笔记--1.2 formalize the learning probelm
  4. VS2010安装Nuget提示签名不匹配错误解决办法
  5. java初学之stream
  6. Asp.net中执行.EXE程序的方法
  7. 配置MySQL5.7基于GTID的复制
  8. 使用springcloud gateway搭建网关(分流,限流,熔断)
  9. Java VisualVM插件地址
  10. Struts2中的链接标签