Env
- test notebook
- Xeon Skylake (36 cores, 72 threads) >$7k (note: the link has half cores)
- Quadro P1000 $300
Model
- densenet121: 8M parameters
- feature image: 224x224x3, train epoch: 352, eval epoch: 40
Result
// refer to Mesa sample_2d_linear() in s_texfilter.c | |
// https://cs.chromium.org/chromium/src/third_party/mesa/src/src/mesa/swrast/s_texfilter.c?q=sample_2d_linear&sq=package:chromium | |
vec4 texture2D_bilinear(sampler2D sampler, vec2 tex_coord, vec2 tex_size) { | |
vec2 unit_texel = 1.0 / tex_size; | |
vec2 unnorm_tex_coord = (tex_coord * tex_size) - vec2(0.5); | |
vec2 f = fract(unnorm_tex_coord); | |
vec2 snap_tex_coord = (floor(unnorm_tex_coord) + vec2(0.5)) / tex_size; | |
vec4 s1 = texture2D(sampler, snap_tex_coord); | |
vec4 s2 = texture2D(sampler, snap_tex_coord + vec2(unit_texel.x, 0.)); | |
vec4 s3 = texture2D(sampler, snap_tex_coord + vec2(0., unit_texel.y)); |
class Solution: | |
def maxCoins(self, nums): | |
""" | |
:type nums: List[int] | |
:rtype: int | |
""" | |
if not nums: return 0 | |
return self.sol_dp(nums) | |
return self.rec(nums) |
Env
Model
Result
Search | |
삼체(소설) | |
최근 수정 시각: 2023-06-17 14:54:54 | |
삼체2007년 소설휴고상 수상작/최우수 장편성운상 수상 소설 | |
삼체의 주요 수상 이력 | |
휴고상 로고 |