¡Hola, Mundo!

  • 홈
  • 태그
  • 방명록

rand 2

rand, rand_like, randint, randint_like, randn, randn_like

rand It returns a tensor filled with Random floats from a uniform distribution on the interval [0, 1]. Uniform distribution on [0, 1] means : Every number between 0 and 1 has an equal probability of being selected. It doesn't mean the numbers will be evenly spaced or look "uniform" when you look at a few samples. For example, torch.rand(4)=> tensor([0.7529, 0.8579, 0.6870, 0.0051]) Each of these..

Deep Learning/PyTorch 2026.01.19

numpy-random

sample_size = 10000 rand=np.random.rand(sample_size) randn=np.random.randn(sample_size) randint=np.random.randint(low=10, high=15, size=10) random_integers=np.random.random_integers(1, 6, 10) pdf, bins, patches = plt.hist(rand, bins=20, range=(0, 1), density=True) plt.title('rand') plt.show() pdf, bins, patches = plt.hist(randn, bins=20, range=(-4, 4), density=True) plt.title('randn') plt.show()..

Analyze Data/Python Libraries 2022.12.29
이전
1
다음
더보기
  • 분류 전체보기 (359)
    • Autonomous Vehicle (56)
      • Theory (14)
      • Sensors (11)
      • Video Geometry (25)
    • Deep Learning (21)
      • PyTorch (11)
      • Tensorflow (8)
      • CNN (7)
      • Object Detection (16)
    • Machine Learning (19)
    • Reinforcement Learning (4)
    • Analyze Data (29)
      • Python (2)
      • Python Libraries (20)
      • Measure of similarity (7)
    • KAFKA (6)
    • d3.js (20)
    • Environment (9)
      • Anaconda (4)
      • VisualStudioCode (3)
      • Jupyter (2)
    • JavaScript (10)
    • C# (6)
    • Linux (15)
      • terminal (9)
      • Nvidia (3)
    • Docker (17)
    • Git (7)
    • Concept (8)
      • Network (3)
    • Elastic Stack (6)
      • Elasticsearch (5)
      • Logstash (1)
    • Basic Python (42)
      • FastAPI (3)
      • Data Structure (1)
      • Workbook (5)
    • DataBase (11)
      • MYSQL (6)
      • MariaDB (1)
    • Math (21)
    • About me (1)

Tag

selectall, docker-compose, nvidia-smi, textdistance, randint, 3D Rotation Matrix, kafka, Regular Expression, randn, d3js, zeros, Filter, forward propagation, global variable, batch size, abstractmethod, classmethod, yield from, axis, Sigmoid function,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/02   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28

Copyright © Kakao Corp. All rights reserved.

티스토리툴바