The selected device can be changed with a torch.cuda.device context manager. Cross-CPU operation are note allowed by default, with the only exception ...
Broadcasting semantics
General semantics Each tensor has at least one dimension. When iterating over the dimension sizes, starting at the trailing dimension, the dimension ...
Autograd mechanics
Excluding subgraphs from backward Every Variable has two flags: requires_grad and volatile. requires_grad If there's a single input to an operation th ...
Pytorch Content
Notes Autograd mechanics Broadcasting semantics CUDA semantics Extending PyTorch Multiprocessing best practices Serialization semantics Package Refe ...
Oracle 中数值型及处理方法
数值型 number[(precision [, scale])] precision, 数值精度 scale, 小数点后位数 数值处理 abs() round() ceil() floor() mod() sign() sqrt() power() trunc() chr() t ...
Oracle 中的字符型及处理方法
字符型简介 固定长度字符串 char(n) 利用空格在右端补齐,限长 2000 varchar(n) 限长 4000 varchar2(n) 推荐 字符型分析 char(n) 不适用与声明变量。 字符型处理 向左补全字符串——lpad 函数 lpad(string, pad ...
Oracle SQL 更新数据
insert insert into 表名 (列名)values(值); insert into 表名 (列名)select update update 表名 set 列 = 新值 where ; delete delete from 表名; -- DML truncate table studen ...
Oracle SQL 查询
基本查询 selectwheredistinctgroup byhavingorder by order by和 distinct 一起使用时,order by 子句所指定的排列,必须出现在 select 表达式中。 子查询 select *from employeeswhere employee_ ...
Oracle 数据库与数据表
配置 / 管理 Oracle 数据库 sqlplus 利用 sqlplus 登录数据库 sqlplus username/password@ netservicename 查看数据库参数 show parameter instance_name; 关闭 / 启动数据库 sqlplus / ...
RUC thesis template
RUC thesis template for \(\LaTeX\) is published in here. Don't panic! It's easy to use, just following the flow in README.