본문 바로가기

Wooks_learning

검색하기
Wooks_learning
프로필사진 Wooks_

  • 분류 전체보기 (28)
    • 딥러닝 (15)
      • 논문 리뷰 (5)
      • 딥러닝 이론 (5)
      • 기타 코드 (3)
      • Object detection (2)
    • Computer science (1)
      • OS (0)
      • DB (0)
      • Algorithm (0)
      • Python (1)
    • OS (4)
      • Linux (3)
      • windows (1)
    • Errors (4)
      • Python (4)
    • HardWare (4)
      • Jetson nano tx2 (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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 29 30 31
Tags
  • #torchvision
  • #선형
  • #landmark
  • pytorch
  • #activation function
  • #gpu training
  • #Jetson nano
  • #pytorch
  • #비선형
  • #Linux
  • #annotation
  • #Anaconda
  • #object detection
  • Linux
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Computer science/Python (1)

Wooks_learning

[Python] Call by value와 call by reference

언어적 CS 지식을 정리하기 위해 글을 작성하게 되었다. Call by value와 call by reference의 차이를 묻는다면, 함수에서 인자를 호출할 때 차이점이 생기게 된다. Call by value : 변수에 저장되어 있는 값을 "stack"에 복사해서 넘겨주는 것을 의미.즉, 함수 내부에서 전달받은 인자를 바꾸어도, 원본 변수는 변하지 않는 성질을 띄게 된다.# call by valuevariable = 5print(f'함수 통과 전 변수 : {variable}') # result : 5def something(var1): var1 *= 10 return print(f'var1 : {var1}')something(variable) # result 50print(f"함수 통과 후 ..

Computer science/Python 2024. 12. 5. 16:29
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바