摘要: java的设计者给出一种新的数据类型--》类(class)[可以将不同的数据类型统一的管理] 对象的创建过程和对应的内存布局: 属性的基本使用: java对象的内存分配: 成员方法的调用机制分析: 阅读全文
posted @ 2020-06-15 17:51 --学无止境-- 阅读(157) 评论(0) 推荐(0)
摘要: 1 package string; 2 3 public class StringExam01 { 4 public static void main(String[] args){ 5 String a="abc"; 6 String b="abc"; 7 System.out.println(a 阅读全文
posted @ 2020-06-11 10:24 --学无止境-- 阅读(176) 评论(0) 推荐(0)
摘要: 1 package arrays; 2 3 import java.util.Arrays; 4 import java.util.Comparator; 5 6 public class ArraysExercise01 { 7 public static void main(String[] a 阅读全文
posted @ 2020-06-09 17:29 --学无止境-- 阅读(237) 评论(0) 推荐(0)
摘要: 1 package math; 2 3 public class MathMethod { 4 public static void main(String[] args) { System.out.println(Math.abs(10));//10 5 System.out.println( M 阅读全文
posted @ 2020-06-09 16:05 --学无止境-- 阅读(555) 评论(0) 推荐(0)
摘要: 1 import matplotlib.pyplot as plt 2 import numpy as np 3 from sklearn.metrics import classification_report 4 from sklearn import preprocessing 5 6 # 载 阅读全文
posted @ 2020-06-05 15:47 --学无止境-- 阅读(1541) 评论(0) 推荐(0)
摘要: Java学习方向 说明 (1) JavaEE软件工程师的工作的内容【主要是Web开发和应用, 比如电商,SNS(社交网络), 信息共享(58), CRM, ERP, 团购,众筹。。】 (2) 大数据软件工程师(1. 大数据应用工程师,2 大数据算法工程师[数学] , 3 数据分析和数据挖掘) (3) 阅读全文
posted @ 2020-05-31 18:41 --学无止境-- 阅读(370) 评论(0) 推荐(0)
摘要: 1.更新驱动 (1)查看驱动版本 1 ubuntu-drivers devices (2)安装对应的驱动 1 sudo apt install nvidia-430 已经安装过了,若未安装,会进行安装. 参考:https://zhuanlan.zhihu.com/p/59618999 2.安装Ana 阅读全文
posted @ 2020-05-30 14:44 --学无止境-- 阅读(4001) 评论(0) 推荐(0)
摘要: 1 import torch 2 import numpy as np 3 import torchvision 4 import torch.nn as nn 5 6 from torchvision import datasets,transforms,models 7 import matpl 阅读全文
posted @ 2020-05-29 15:14 --学无止境-- 阅读(877) 评论(0) 推荐(0)
摘要: 1 import numpy as np 2 import torch 3 import torch.nn as nn 4 import torch.nn.functional as F 5 import torch.optim as optim 6 from torchvision import 阅读全文
posted @ 2020-05-27 12:11 --学无止境-- 阅读(2078) 评论(0) 推荐(0)
摘要: import torch from torch.autograd import Variable tensor =torch.FloatTensor([[1,2],[3,4]]) variable=Variable(tensor,requires_grad=True) print(tensor) p 阅读全文
posted @ 2020-05-19 10:13 --学无止境-- 阅读(167) 评论(0) 推荐(0)