摘要: 代码 输出 阅读全文
posted @ 2018-09-06 23:18 路边的十元钱硬币 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 代码 输出 阅读全文
posted @ 2018-09-06 17:23 路边的十元钱硬币 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 代码 输出 阅读全文
posted @ 2018-09-06 15:37 路边的十元钱硬币 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Concatenates tensors along one dimension. 阅读全文
posted @ 2018-09-06 13:24 路边的十元钱硬币 阅读(174) 评论(0) 推荐(0) 编辑
摘要: # 'value' is a tensor with shape [5, 30] # Split 'value' into 3 tensors with sizes [4, 15, 11] along dimension 1 split0, split1, split2 = tf.split(value, [4, 15, 11], 1) tf.shape(split0) # [5, 4] tf... 阅读全文
posted @ 2018-09-06 13:22 路边的十元钱硬币 阅读(399) 评论(0) 推荐(0) 编辑
摘要: b_idx = np.random.randint(0, 9, 90) >>> b_idx array([0, 1, 5, 4, 7, 2, 7, 0, 0, 4, 2, 2, 3, 5, 6, 4, 7, 0, 3, 2, 7, 3, 8, 5, 4, 3, 1, 8, 6, 6, 5, 5, 3, 2, 2, 2, 0, 4, 8, 1, 5, 3, 2, 6, ... 阅读全文
posted @ 2018-09-06 12:50 路边的十元钱硬币 阅读(645) 评论(0) 推荐(0) 编辑