码迷,mamicode.com
首页 >  
搜索关键字:variable stripe raid    ( 6008个结果
MySQL 查看最大连接数和修改最大连接数
1、查看最大连接数mysql>showvariableslike"%max_connections%";±----------------±------+|Variable_name|Value±----------------±------+|max_connections|141±----------------±------+1rowinset(0.00sec)2、修改最大连接数MyS
分类:数据库   时间:2020-02-13 16:36:35    阅读次数:94
tensorflow变量的使用(02-2)
import tensorflow as tf x=tf.Variable([1,2]) a=tf.constant([3,3]) sub=tf.subtract(x,a) #增加一个减法op add=tf.add(x,sub) #增加一个加法op #注意变量再使用之前要再sess中做初始化,但是下 ...
分类:其他好文   时间:2020-02-13 10:10:41    阅读次数:50
例子:用tensorflow来拟合线性函数的k和b(02-4)
import tensorflow as tf import numpy as np #使用numpy生成100个随机点 x_data=np.random.rand(100) y_data=x_data*0.1+0.2 #这里我们设定已知直线的k为0.1 b为0.2得到y_data #构造一个线性模 ...
分类:其他好文   时间:2020-02-13 10:08:58    阅读次数:69
【Flask项目】 python学习经典报错
报错: UnboundLocalError: local variable 'total_page' referenced before assignment news_list = [] # 修改 total_page =1 current_page = 1 try: paginate = use ...
分类:编程语言   时间:2020-02-13 09:39:40    阅读次数:86
EMC NW NMM to restore MS AG database
Following last article, how to restore MS AG database , that is in the following: You see ? Cheer up , we will begin our trip now. From EMC NW console ...
分类:数据库   时间:2020-02-12 23:59:22    阅读次数:141
Spring Cloud 学习——5.使用 feign 的 hystrix 支持
1.前言 hystrix 是一个微服务系统的断路器组件,上文介绍了 spring cloud 通过 netfix hystrix 提供对 hystrix 的支持。同时 spring cloud 也提供了 openfeign 的支持, 而 openfeign 本身就已经内置了 hystrix 支持。所 ...
分类:编程语言   时间:2020-02-12 20:37:15    阅读次数:68
pytorch实现网络的保存和提取
代码如下: #实现网络的保存和提取 import torch from torch.autograd import Variable import matplotlib.pyplot as plt #设置随机种子实现结果复现,在神经网络中,参数默认是进行随机初始化的。 # 不同的初始化参数往往会导致 ...
分类:其他好文   时间:2020-02-12 19:02:02    阅读次数:125
pytorch实现优化optimize
代码: #集中不同的优化方式 import torch import torch.utils.data as Data import torch.nn.functional as F from torch.autograd import Variable import matplotlib.pypl ...
分类:其他好文   时间:2020-02-12 18:17:57    阅读次数:73
MySQL 存储引擎 (二)
InnoDB存储引擎物理存储结构 共享表空间 独立表空间 查看是否开启独立表空间 表空间迁移 虽然 t2.ibd 还在,但是 mysql 无法识别 处理方式: 在 mysql 中重建一个相同表结构的 tmp 表 CREATE TABLE ( int(11) DEFAULT NULL ) ENGINE ...
分类:数据库   时间:2020-02-12 16:08:00    阅读次数:73
机器学习(ML)系列一之 Linear Regression
一、线性回归 1、模型 2、损失函数 3、优化函数-梯度下降 #!/usr/bin/env python # coding: utf-8 import torch import time # init variable a, b as 1000 dimension vector n = 1000 a ...
分类:其他好文   时间:2020-02-12 10:53:33    阅读次数:110
6008条   上一页 1 ... 54 55 56 57 58 ... 601 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!