728x90 반응형 Python181 [PyTorch] 생성 및 초기화, 기본 조작 NumPy에 대한 것은 다음을 참고:2024.09.09 - [Python] - [NumPy] 생성 및 초기화, 기본 조작 (1) [NumPy] 생성 및 초기화, 기본 조작 (1)1. ndarray 생성하기 (=tensor생성하기)np.array ( seq [,dtype])list 나 tuple 등의 sequence 객체로부터 ndarray 생성.dtype : data type of element.float64 : default type in the numpy. *uint8 : unsigned int (8bit), the most commonly used for imds31x.tistory.com0. tensor란?https://dsaint31.tistory.com/891 [ML] Tensor: Scala.. 2025. 3. 13. [Ex] PySide6 설치하고 나서 간단히 테스트 할 수 있는 코드from PySide6.QtWidgets import QLabel, QApplicationimport sysapp = QApplication(sys.argv)widget = QLabel("test!")widget.resize(300, 200) # 창의 크기 설정 (너비, 높이)widget.show()sys.exit(app.exec()) 2025.02.11 - [Python/PySide PyQt] - [PySide6] Installing PySide6 (and Designer) on Windows (with Conda) [PySide6] Installing PySide6 (and Designer) on Windows (with Conda)기존에 conda 가상환.. 2025. 3. 11. [Py] dis 모듈 - Python Python의 dis 모듈: 바이트코드 disassemble하기Python은 인터프리터 언어지만, 실행 전에 source code (원시코드)를 bytecode (바이트코드) 라는 중간 형태로 컴파일하여 성능을 향상시킴.이 바이트코드는 Python의 가상 머신(보통 CPython VM)에서 실행됨.이를 disassemble(역어셈블)하여 분석할 수 있게 해주는 도구가 표준 라이브러리의 dis 모듈임.2024.06.05 - [CE] - [CE] Bytecode (바이트코드) [CE] Bytecode (바이트코드)Bytecode (바이트코드)정의:Bytecode는 고수준 프로그래밍 언어로 작성된 source code를 중간 형태로 변환한 code 임.이는 특정 Virtual Machine (VM)에서 실행.. 2025. 3. 11. [DL] Tensor 다루기 - PyTorch 중심 https://dsaint31.tistory.com/891 [ML] Tensor: Scalar, Vector, Matrix.Tensor 종류1. Scalar (0차원 tensor)하나의 숫자로 표현되는 가장 기본적인 형태.크기(magnitude)만을 가지며 방향은 없음.예시: 온도(25°C), 나이(20), 가격(1000원)# 파이썬/NumPy에서의 표현scalar = 5.02. Vector (dsaint31.tistory.comhttps://dsaint31.tistory.com/456 [Programming] Primitive Data Type : C, C++, NumPy, TorchPrimitive Data Type이(Unboxed type)란?C, C++, NumPy, PyTorch, TensorF.. 2025. 3. 7. [Py] How to Install Python on Windows from Python.org 이 문서는 python.org 에서 제공하는 Python을 Windows에 설치하는 방법을 단계별로 설명함. 일반적으로는 conda등을 이용한 설치를 보다 선호함.2025.03.02 - [개발환경] - [Tool] conda 사용법 - Anaconda and Miniconda [Tool] conda 사용법 - Anaconda and Miniconda1. Conda란?프로그래밍 언어(특히 Python)의 패키지, 종속성을 관리하기 위한 오픈 소스 패키지 관리 시스템(or Package Manager)과이들이 설치되어 구성되는 (가상)환경을 관리하는 환경 관리 시스템임.cods31x.tistory.com다운로드python.org 웹사이트에 가서 Downloads를 선택하여 Python 3.13.2 (최신 r.. 2025. 3. 6. [PySide6] Installing PySide6 (and Designer) on Windows (with Conda) 기존에 conda 가상환경에 다시 pip로 설치를 했었는데,conda를 25.1.1 로 업데이트하고 PySide6와 designer를 설치하니 제대로 설치가 됨. Prerequisiteconda : conda-forge 채널에서 설치.os : Windows11, 23H2 (22631.4751)Installconda create -n pyside6 -c conda-forge qt-main pyside6qt-main : Qt Framework의 핵심구성요소를 포함하는 패키지 (designer를 사용하려면 설치가 필수임)pyside6 : Qt Framework의 Python Binding. 2025.2.11 설치 당시 기본으로 설치되는 버전은 다음과 같음.qt-main : 5.15.15 (채널: conda-f.. 2025. 2. 11. 이전 1 2 3 4 5 6 7 ··· 31 다음 728x90 반응형