tobby48 пре 6 година
родитељ
комит
ebc8961eda

+ 0
- 2
src/main/python/kr/co/swh/lecture/opensource/tensorflow/two-sum-high.py Прегледај датотеку

@@ -13,7 +13,6 @@ tensor_b = tf.constant(2.0, name="b")
13 13
 # 앞에서 정의한 상수텐서들을 연산할 오퍼레이션 추가, 해당 오퍼레이션의 출력텐서를 'tensor_c'가 가르킴
14 14
 tensor_c = tensor_a + tensor_b
15 15
 
16
-
17 16
 # Tensor("a:0", shape=(), dtype=float32)
18 17
 # 1. 'a:0'는 a의 첫번째 출력텐서
19 18
 # 2. 'shape=()'는 스칼라 텐서
@@ -22,7 +21,6 @@ print(tensor_a)
22 21
 print(tensor_b)
23 22
 print(tensor_c)
24 23
 
25
-
26 24
 print(tensor_a.op)                # 텐서에 대한 오퍼레이션 정보
27 25
 print(tensor_a.op.node_def)        # 텐서에 대한 오퍼레이션 정보
28 26
 print(tensor_a.op.inputs)        # 상수 오퍼레이션의 입력은 출력해볼 수 없다.