logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

C++编程 - tuple、any容器

C++编程 - tuple、any容器flyfish 2014-10-29一 tupletuple是固定大小的容器,每个元素类型可以不同作用1 替换structstruct t1{int nID;double dVal;};替换为typedef std::tuple t1;作用2 任意个数的函数返回值写法1std::tup

C++ 关联容器 map

<br />C++ 关联容器 map<br /> <br />邵盛松2010年11月19日星期五<br /> <br />一前言<br />关联容器(associative container) map对象的元素是键值对,每个元素包含两部分键和键关联的值。<br /> <br />二map对象的定义<br />使用关联容器map需要添加头文件<br />#include<map><br />std

#c++
C++编程 –安全并发访问容器元素

C++ 安全并发访问容器元素2014-9-24 flyfish标准库STL的vector, deque, list等等不是线程安全的例如 线程1正在使用迭代器(iterator)读vector线程2正在对该vector进行插入操作,使vector重新分配内存,这样就造成线程1中的迭代器失效STL的容器多个线程读是安全的,在读的过程中,不能对容器有任何写入操作

TensorFlow - 使用TensorFlow开发程序编译环境配置

TensorFlow - 使用TensorFlow开发程序编译环境配置flyfish环境:Win7,Microsoft Visual Studio 2017 Community,平台x64语言:C++编译器配置如下C\C++-》 常规-》附加包含目录E:\lib\tensorflowE:\lib\tensorflow\tensorflow\contrib\cmake\buildE:\

TensorFlow - 手写数字识别 (模型训练完成后的使用)

TensorFlow - 手写数字识别 (模型训练完成后的使用)flyfish当训练好模型之后,开始使用模型模型所在路径\venv\ckpt_dirimport tensorflow as tfimport osimport numpy as npfrom PIL import Image#pillow(PIL)x = tf.placeholder(&quot;float&quot;, ...

TensorFlow - Tensor理解与使用

如何理解TensorFlow中的tensorflyfishtensor 张量英 [‘tensə; -sɔː]美 [‘tɛnsɚ]What is a Tensor?Tensors are simply mathematical objects that can be used to describephysical properties, just like scalars an

多目标跟踪论文 Deep SORT 特征训练TensorFlow实现

多目标跟踪论文 Deep SORT 特征训练flyfish环境Ubuntu 18.04Tensorflow1.5 或者Tensorflow1.13.1Python 3.6论文《Deep Cosine Metric Learning for Person Re-Identification》论文下载地址 https://elib.dlr.de/116408/源码地址 github.c...

TensorFlow - tf.multiply和tf.matmul 区别

TensorFlow - tf.multiply和tf.matmul 区别flyfish# a# [[1, 2, 3],#[4, 5, 6]] a = tf.constant([1, 2, 3, 4, 5, 6], shape=[2, 3])# b1# [[ 7,8],#[ 9, 10],#[11, 12]] b1 = tf.constant([7, 8,

C++编程 - 真的不要重复造轮子吗

C++编程--真的不要重复造轮子吗作者:flyfish 2014-3-14在软件开发领域有一个著名的谚语-不要重复造轮子 Don't reinvent the wheel.  这句话做为你的开发原则吗?情景1看看C++的大轮子,STL,各个公司组织都造自己的STL,HP的STL是大部分STL版本的老爹,Linux下的编译器GCC(The GNU Compiler C

TensorFlow - 各种tensor的创建(主要是矩阵)

TensorFlow - 各种tensor的创建(主要是矩阵)flyfish操作tensor,相当于操作,向量,矩阵等C++使用eigen库,python使用numpy库给定的python的类型可以转换成tensorimport numpy as npimport tensorflow as tfsess = tf.Session()def my_func(ar

    共 49 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 请选择