摘要:
1、张量求和 ①、tensorflow1.x版 import tensorflow.compat.v1 as tf tf.disable_v2_behavior() # 使用静态图模式运行以下代码 assert tf.__version__.startswith('2.') # 1.创建计算图阶段 阅读全文
posted @ 2020-11-10 18:31
大码王
阅读(885)
评论(0)
推荐(0)
摘要:
1、String 方法 下面是 String 类支持的方法,更多详细,参看 Java String API 文档: SN(序号)方法描述 1 char charAt(int index)返回指定索引处的 char 值。 2 int compareTo(Object o)把这个字符串和另一个对象比较。 阅读全文
posted @ 2020-11-10 11:35
大码王
阅读(154)
评论(0)
推荐(0)
摘要:
1、异常处理的方法 使用 System 类的 System.err.println() 来展示异常的处理方法? class ExceptionDemo { public static void main(String[] args) { try { throw new Exception("My E 阅读全文
posted @ 2020-11-10 11:28
大码王
阅读(214)
评论(0)
推荐(0)


浙公网安备 33010602011771号