분류 전체보기 (369) 썸네일형 리스트형 [영어로] 아까 / 이따가/ 얼마 전에/ 나중에 ago: ~ 전에 5 minutes ago / a week ago / several months ago / several days ago / a couple of weeks ago in / from now: ~후에 / 뒤에 a week from now (in a week) / a year from now (in a year) 1. 아까 I spoke with hin on the phine earlier. 나 아까 걔랑 통화했어. earlier today / this morning / this afternoon / this evening 얼마만큼의 시간을 나타낼 필요가 없을 때 2. 얼마 전에 earlier this week / this month / this year 3. 이따가 later today /.. [영어 표현] out of something out of something: ~로부터 나와서 Just out of curiosity, what were you originally planning to do? 그냥 궁금해서 묻는 건데, 원래 계획은 뭐였어요? Don't take it the wrong way, she's just saying that out of concern for you. 다른 식으로 받아들이지 마. 그녀가 너를 걱정해서 말한 거야. I admit I'm doing this partly out of guilt. 죄책감이 느껴져서 이렇게 하는 부분도 있다는 건 인정해. He makes it sound like he's doing this out of the goodness of his heart. But I know he's jus.. [영어 표현] sit out / sit well with sit out: 어떤 일에 관여하지 않고 끝나기를 기다리다 wait out: 어떤 일이 지나가길, 끝나길 기다리다. At first, I was going to make a run for it. But I decided to wait it out: 처음에는 뛰어볼려고 했다가 그냥 끝나길 기다리기로 했어. I know you just want to hep. But, you should sit this one out and let the others figure it out. They need the experience. 그냥 돕고 싶다는 것은 아는데 이번 일은 그냥 다른 사람이 해결하도록 두고 넌 빠져 있는게 좋곘어. 그들도 경험이 필요하니까. sit well with A: What's this for? .. Pytorch - autograd 정의 Pytorch 에서는 어떠한 기능을 하는 블록 혹은 함수에 대해 forward() / backward() 를 "torch.autograd" 모듈로 새롭게 정의할 수 있습니다. 이는 "torch.autograd.Function" 클래스를 상속하여 "@staticmethod" 를 이용하여 입력에 대한 함수의 동작을 forward() 함수에, 함수 출력에 대한 기울기를 받아 입력에 대한 기울기를 계산하는 backward() 함수를 새롭게 정의합니다. Example Legendre polynomial $y=a+bP_3 (c+dx)$ 에서 $P_3=\frac{1}{2}(5x^3-3x)$의 Legendre 3차 다항식이라고 가정하겠습니다. $P_3$ 함수에 대한 forward / backward 는 "torch.a.. [영어 표현] ahead 활용 There's a parked car (right) ahead. 전방에 차가 하나 주차돼 있다. I thought you might ask. So, I went ahead and put together a list of candidates. 물어보실 것 같아서 미리 후보 목록을 뽑아놨어요. All right, let's go ahead and open all these boxes. 자, 그럼, 이제 이 박스들을 열어보자. Let's go ahead and do something: 이제부터 ~ 하자 Okay. I'm going go ahead and start packing: 자, 그럼 난 이제 짐을 싸기 시작해야겠다. I'm way ahead of you. I've already put together .. Numba (1) 파이썬은 인터프리터 언어로서 C/C++/Fortran 과 같은 컴파일 언어에 비해 느리지만, 파이썬 코드를 LLVM 컴파일러를 이용해 머신 코드로 바꾸어 수치연산을 가속화해주는 Numba 컴파일러가 존재합니다.Numba는 수치 계산에 초점을 맞춘 파이썬을 위한 오픈 소스 JIT (Just-In Time) 컴파일러로 2012년 컨티넘 애널리틱스 (현재 아나콘다) 에서 처음 만들어졌습니다. Numba 라이브러리의 주요 특징으로는, 전체 애플리케이션, 프로그램이 아닌 @jit, @njit 데코레이터로 장식된 함수에 대해서만 별도로 컴파일합니다. 파이썬은 보통 파이썬 인터프리터 CPython 을 사용하는데, Numba 는 별도의 인터프리터를 사용하지 않고 최적화된 별도의 빠른 함수를 만들어줍니다. 함수에는 입력.. [영어 표현] do the trick / pull it off / get away with it Do the trick: 어떤 문제가 해결이 될 때 사용 A: It feels like my phone has gotten really slow lately. 최근에 내 핸드폰이 엄청 느려진 것 같아. B: Have you tried turning it off and on? Sometimes that does the trick. 껏다 켜봤어? 그러면 해결될 때도 있는데. A: Yeah. I tried that earlier but it didn't work. 응 아까 해봤는데 안됬어. We (finally) did it! (드디어) 해냈다! We made it! 어디에 (무사히 혹은 제 시간에) 도착했다. It took some time but we made it there safely. (성공적인) 지.. Pytorch - gather 이번 포스트에서는 Pytorch gather 함수를 알아보도록 하겠습니다. gather 함수는 scatter 함수와 정반대로 동작하는 함수로 주어진 "input" 텐서에서 "dim", "index" 에 맞게 값을 모아주는 역할을 합니다. torch.gather(input, dim, index, *, sparse_grad=False, out=None) → Tensor gather 함수는 "input" 텐서에서 "dim", "index" 에 해당하는 요소값으로 새로운 텐서를 구성합니다. 3차원 텐서에 대해서 다음과 같이 동작합니다. scatter 함수와 반대 동작인 것을 알 수 있습니다. out[i][j][k] = input[index[i][j][k]][j][k] # if dim == 0 out[i][j][.. 이전 1 ··· 19 20 21 22 23 24 25 ··· 47 다음