![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DL & ML
TBAALi
这个作者很懒,什么都没留下…
展开
-
TVM笔记一
【代码】TVM笔记一。原创 2022-12-01 22:56:09 · 531 阅读 · 6 评论 -
CIFAR-10 图片识别
"""Copyright 2022 The TBAALi Authors. All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org原创 2022-05-24 08:54:44 · 208 阅读 · 0 评论 -
MNIST手写数字识别
"""Copyright 2022 The TBAALi Authors. All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org原创 2022-05-18 22:32:27 · 359 阅读 · 0 评论 -
PyTorch 笔记 (四)
import pandas as pdimport torchimport torch.nn as nnimport numpy as npfrom torch.autograd import Variablefrom torch.utils.data import Dataset, DataLoaderfrom torch import optimfrom torchvision import datasets, transformsfrom torch.utils.data.datalo原创 2022-03-29 19:47:35 · 1544 阅读 · 0 评论 -
PyTorch 笔记 (三)
# AutoGrad 自动求导机制import pandas as pdimport torchimport torch.nn as nnimport numpy as npfrom torch.autograd import Variablefrom torch.utils.data import Dataset, DataLoaderfrom torch import optimfrom torchvision import datasets, transformsfrom torch原创 2022-03-15 14:03:15 · 1700 阅读 · 0 评论 -
PyTorch 笔记 (二)
# 线性神经网络# 小批量随机梯度下降:在每次需要计算更新的时候随机抽取一小批样本import mathimport timeimport numpy as npimport torchfrom d2l import torch as d2limport matplotlibimport matplotlib.pyplot as pltimport randomfrom torch.utils import datafrom torch import nn# 正态分布于平方损失原创 2022-03-07 18:40:32 · 954 阅读 · 2 评论 -
PyTorch 笔记 (一)
PyTorch 笔记'''张量类宇 Numpy 中的 ndarray 类似,但是比 ndarray 多了一些功能.张量表示由一个数值组成的数组,这个数组可能由多个维度。具有一个轴的张量对应数学上的向量。具有两个轴的张量对应数学上的矩阵。'''# %matplotlib inlineimport torchimport numpy as npfrom IPython import displayfrom torch.distributions import multinomialfrom原创 2022-03-05 22:26:54 · 814 阅读 · 0 评论 -
Matplotlib 笔记 (一)
Matplotlib 笔记# Matplotlib 是 Python 的绘图库,它能让使用者很轻松地将数据图形化,# 并且提供多样化的输出格式# 可以用来绘制各种静态、动态、交互式的图标# Pyplot 是 Matplotlib 的子库,提供了和 MATLAB 类似的绘图 API# pyplot 是常用的绘图模块,能很方便让用户绘制 2D 图标# Pyplot 包含一些列绘图函数的相关函数,每个函数会对当前的图像进行一些修改,# 例如:绘图像加上标记,生成新的图像,在图像中产生新的绘图区域等原创 2022-03-05 22:25:44 · 199 阅读 · 0 评论 -
Pandas 笔记 (一)
Pandas 笔记# Pandas 提供高性能、易于使用的数据结构和数据分析工具# Pandas 可以从 CSV、JSON、SQL、MICROSOFTEXCEL 导入数据# Pandas 可以对各种数据进行运算操作,比如归并、再形成、选择、还有数据清洗和特征加工# Pandas 主要数据结构是 Series (一维数据) 与 DataFrame (二维数据)# Series 是一种类似于一维数组的对象,它由一组数据 (各种 Numpy 数据类型) 以及一组与之对应的# 数据标签 (即索引) 组成原创 2022-03-05 22:24:50 · 2226 阅读 · 0 评论 -
NumPy笔记 (一)
NumPy 笔记# NumPy 是 Python 语言的扩展库,支持大量的维度数组与矩阵运算,# 此外也针对数组运算一共大量的数学函数库# 包括:一个强大的 N 维对象 ndarray,广播功能函数,整合 C/C++ 代码的工具# 线性代数、傅里叶变换、随机数生成等功能'''创建 ndarraynumpy.array(object, dtype = None, copy = True, order = None, subok = False, ndmin = 0 object 数原创 2022-03-05 22:23:05 · 339 阅读 · 0 评论