Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 턱걸이
- TensorFlow
- CV
- error
- 프로세스
- python
- 공부
- 코딩
- 텐서플로우
- OpenCV
- Windows 10
- c
- Windows10
- 리눅스
- 쉘
- C언어
- 회귀
- 프로그래밍
- 딥러닝
- 영상처리
- linux
- 학습
- Computer Vision
- C++
- 운영체제
- 백준알고리즘
- 알고리즘
- shell
- 백준
- 시스템프로그래밍
Archives
- Today
- Total
목록or 뉴런 (1)
줘이리의 인생적기

AND 연산에 이어 OR 연산 뉴런을 만들어 보겠습니다. 뉴런 계산식도 AND 연산과 동일합니다. AND 연산과 다른점은 출력 y가 바뀌었죠. import tensorflow as tf import math import numpy as np def sigmoid(x): return 1 / (1 + math.exp(-x)) x = np.array([[1,1], [1,0], [0,1], [0,0]]) y = np.array([[1], [1], [1], [0]]) # 참 참 참 거짓 w = tf.random.normal([2], 0, 1) b = tf.random.normal([1], 0, 1) for i in range(2000): error_sum = 0 for j in range(4): output = ..
공부/tensorflow
2021. 4. 8. 22:00