728x90 반응형 tnesorflow1 [DL] Tensor 객체의 attributes: ndim, shape, dtype Tensor를 추상화하는 Class들Python에서Tensor 를 추상화하는 대표적인 class는 다음과 같음.NumPy의 ndarray: numpy.arrayPyTorch의 torch.Tensor : torch.tensor()로 생성.Tensorflow의 tf.Tensor : tf.constant(), tf.convert_to_tensor(), tf.Variable 등으로 생성.https://dsaint31.tistory.com/891 [ML] Tensor: Scalar, Vector, Matrix.Tensor 종류1. Scalar (0차원 tensor)하나의 숫자로 표현되는 가장 기본적인 형태.크기(magnitude)만을 가지며 방향은 없음.예시: 온도(25°C), 나이(20), 가격(1000원)# .. 2024. 3. 15. 이전 1 다음 728x90 반응형