摘要: #two demos #deme 01 import tensorflow as tf mnist = tf.keras.datasets.mnist (x_train, y_train), (x_test, y_test) = mnist.load_data() x_train, x_test = 阅读全文
posted @ 2022-07-17 21:43 是冰美式诶 阅读(35) 评论(0) 推荐(0)
摘要: tf.keras.models.Sequential()用法 by Markdown Sequential()方法是一个容器,描述了神经网络的网络结构,在Sequential()的输入参数中描述从输入层到输出层的网络结构 使用方法:model = tf.keras.models.Sequential 阅读全文
posted @ 2022-07-17 20:59 是冰美式诶 阅读(388) 评论(0) 推荐(0)
摘要: #Markdown笔记 ~~一定不会忘记的~~ 1.有序列表 2.* 无序列表 * 3.添加引用 4.code 代码快 5.分割线 6.链接 title https://www.cnblogs.com/158-174/ 可点击的链接 可以查看我的博客 强调链接 7.图片 !请看波吉王子 8.脚注 [ 阅读全文
posted @ 2022-07-17 20:33 是冰美式诶 阅读(31) 评论(0) 推荐(0)
摘要: #很简单的一道双指针题目,就不做详细解释了 class Solution: def search(self, nums: List[int], target: int) -> int: left,right = 0,len(nums)-1 if not nums: return -1 while l 阅读全文
posted @ 2022-07-17 15:43 是冰美式诶 阅读(25) 评论(0) 推荐(0)