add template as generic function
add template as generic function

define the generic function

jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed,jiankaiwang/seed