mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-14 02:37:01 -07:00
update xlib.avecl
This commit is contained in:
parent
2d401f47f8
commit
6da916cc66
14 changed files with 246 additions and 184 deletions
|
@ -38,8 +38,6 @@ class InitRandomUniform(Initializer):
|
|||
gen_expression = f'hash_ulong_from_ulong(gid+seed64) % {int(hl)} + {int(l)}'
|
||||
elif tensor.dtype in [np.float16, np.float32]:
|
||||
gen_expression = f'hash_float_from_uint(gid+seed32)*{hl} + {l}'
|
||||
elif tensor.dtype in [np.float64]:
|
||||
gen_expression = f'hash_double_from_ulong(gid+seed64)*{hl} + {l}'
|
||||
|
||||
kernel = Kernel(kernel_text=f"""
|
||||
{HKernel.include_hash()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue