自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

转载 tf.nn.dynamic_rnn

tf.nn.dynamic_rnn dynamic_rnn(    cell,    inputs,    sequence_length=None,    initial_state=None,    dtype=None,    parallel_iterations=None,    swap_memory=False,    time_major=False,   

2018-01-18 16:10:43 4626

转载 tf.FIFOQueue

Class FIFOQueueInherits From: QueueBaseDefined in tensorflow/python/ops/data_flow_ops.py.See the guides: Inputs and Readers > Queues, Threading and Queues > Queue usage overview, Threading and QueuesA

2018-01-18 11:16:16 1318

转载 cv2.imread()

cv2.imread()使用opencv和caffe的伙伴们,可能会有一个疑问,那就是对于同时读取图片的cv2.imread()和caffe.io.loadimage两个函数,有什么差别?1、cv2.imread()接口读图像,读进来直接是BGR 格式数据格式在 0~255,通道格式为(W,H,C)2、caffe.io.load_image()读进来是RGB格式和 0~1(

2018-01-17 15:43:29 57083 5

转载 python socket编程

Python 提供了两个基本的 socket 模块。   第一个是 Socket,它提供了标准的 BSD Sockets API。   第二个是 SocketServer, 它提供了服务器中心类,可以简化网络服务器的开发。下面讲的是Socket模块功能Socket 类型套接字格式:socket(family,type[,protoca

2018-01-17 10:33:48 190

转载 Python主线程结束为什么守护线程还在运行?

在实际的交互模式中,主线程只有在Python退出时才终止,所以action函数输出结果还是被打印出来了。”按照我的理解应该是说,在shell里主线程在输出结果之后并没有真的结束,所以action还会打印结果。建议把程序编译出来,放到另外的环境中测试,估计就会是你要的结果了。

2018-01-16 17:55:23 3312

转载 Argparse中action的可选参数store_true,store_false

parser.add_argument('-c', action='store_true', default=false)#python test.py -c => c是true(因为action)#python test.py => c是false(default)

2018-01-16 16:28:49 29312

转载 Module implementing RNN Cells

# Copyright 2015 The TensorFlow Authors. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use t

2018-01-15 21:31:17 1452

转载 tf.reshape

tf.reshape reshape(    tensor,    shape,    name=None)Defined in tensorflow/python/ops/gen_array_ops.py.See the guide: Tensor Transformations > Shapes and ShapingReshapes a tensor.

2018-01-15 11:04:45 494

转载 tf.multiply与tf.matmul

(1)tf.multiply是点乘,即Returns x * y element-wise.(2)tf.matmul是矩阵乘法,即Multiplies matrix a by matrix b, producing a * b.

2018-01-13 11:26:50 907

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除