tf.constant
tf.constant(value,dtype=None, shape=None,name='Const')
Attribute
name
dtype
name
Rank of Value
0 Scalar | 1,-4,0.142 | () | ||
1 vector | [1.,2.,3.] | (3,) | ||
2 matrix | [1.,2.,3.,].[4.,5.,6.]] | (2,3) | ||
3 3 -Tensor | [[[1.,2.,3.]],[[4.,5.,6.]]] | (2,1,3) |
3
'Tensorflow' 카테고리의 다른 글
[Tensorflow] 변수 variable 설명 (0) | 2024.01.11 |
---|---|
[Tensorflow] Tensor 설명 (0) | 2024.01.04 |
GPU CPU 차이 (0) | 2024.01.03 |
CNN exmaple (1) | 2024.01.02 |
CNN 2D convolution Pooling example (0) | 2024.01.01 |