mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-20 05:23:23 -07:00
_
This commit is contained in:
parent
0058474da7
commit
c2ba2bab9d
2 changed files with 2 additions and 7 deletions
|
@ -284,11 +284,6 @@ class _MTOrderedDataClient:
|
||||||
from xlib import time as lib_time
|
from xlib import time as lib_time
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import cv2
|
import cv2
|
||||||
import cupy as cp
|
|
||||||
import cupyx.scipy.ndimage
|
|
||||||
import scipy
|
|
||||||
import scipy.ndimage
|
|
||||||
|
|
||||||
from typing import Union, Tuple
|
from typing import Union, Tuple
|
||||||
|
|
||||||
from xlib.image import ImageProcessor
|
from xlib.image import ImageProcessor
|
||||||
|
@ -1342,7 +1337,7 @@ class CLKernelHelper:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def define_axes_accessor(axis_letter, shape, axes_symbols=None):
|
def define_tensor(axis_letter, shape, axes_symbols=None):
|
||||||
"""
|
"""
|
||||||
Returns a definitions of shape accesor
|
Returns a definitions of shape accesor
|
||||||
|
|
||||||
|
@ -1355,7 +1350,7 @@ class CLKernelHelper:
|
||||||
axes_symbols(None) string of symbols.
|
axes_symbols(None) string of symbols.
|
||||||
None -> numeric symbols will be used
|
None -> numeric symbols will be used
|
||||||
|
|
||||||
example for 'i', TensorAxes((4,512))
|
example for 'i', AAxes((4,512))
|
||||||
|
|
||||||
#define I0 4
|
#define I0 4
|
||||||
#define I1 512
|
#define I1 512
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue