当前位置:网站首页>Four basic data types
Four basic data types
2022-07-28 14:47:00 【Youth is short!】
# use numpy Realize the expression of basic data
import numpy as np
# Scalar ( One dimensional tensor )
a = 1
print('a:',a)
print('')
# vector ( Two dimensional tensor )
b = np.array([1,2])
print('b:',b,'\n','b_shape:',b.shape)
print('')
# matrix ( Three dimensional tensor )
c = np.array([[1,1],[1,2]])
print('c:',c,'\n','c_shape:',c.shape)边栏推荐
- TDengine 助力西门子轻量级数字化解决方案
- Another way of understanding the essence of Hamming code
- Copy excel row to specified row
- 实时切换 Core Data 的云同步状态
- 58子站安居,经纪人营销管理平台登录接口加密逆向
- Iterator iterator interface
- Added the ability of class @published for @cloudstorage
- Factory mode and constructor mode
- Ability to add class @published for custom attribute wrapper types
- Store and guarantee rancher data based on Minio objects
猜你喜欢

2022 safety officer-a certificate operation certificate examination question bank simulated examination platform operation
C # read INI file and key value pair operation

Another way of understanding the essence of Hamming code

企鹅一面:为什么不建议使用SELECT * ?
![[ecmascript6] other new interface features](/img/da/377f93d83b6722bf250d270e4eea28.png)
[ecmascript6] other new interface features

2022低压电工考试题及答案

多商户商城系统功能拆解17讲-平台端订单列表

【七夕】七夕孤寡小青蛙究极版?七夕节最终章!

2022 melting welding and thermal cutting examination questions and online simulation examination

Redis persistence
随机推荐
Analysis of thrift serialization protocol
面试官:ThreadLocal使用场景有哪些?内存泄露问题如何避免?
如何让照片中的人物笑起来?HMS Core视频编辑服务一键微笑功能,让人物笑容更自然
BGP experiment
SwiftUI 布局 —— 尺寸( 下 )
Brief introduction of diversity technology
Interviewer: what are the usage scenarios of ThreadLocal? How to avoid memory leakage?
Some problems encountered in the development of Excel VBA, solutions, and continuous updates
pix2pix
How many ways can multithread run in sequence?
【LeetCode】 贴纸拼词(动态规划)
2022 high altitude installation, maintenance, removal of examination question bank and online simulated examination
@DS('slave') 多数据源兼容事务问题解决方案
Hcip day 12
爆肝整理JVM十大模块知识点总结,不信你还不懂
ScottPlot入门教程:获取和显示鼠标处的数值
How to reduce the resolution of only 3D camera but not UI camera
SwiftUI 的动画机制
C# 获取当前路径7种方法
468产品策划与推广方案(150份)