MCPcopy Create free account

hub / github.com/crowsonkb/style_transfer / functions

Functions206 in github.com/crowsonkb/style_transfer

↓ 40 callersFunctiong
(t)
web_static/jquery-3.3.1.min.js:2
↓ 39 callersFunctionw
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 19 callersFunction$
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 18 callersFunctiont
(n,i)
web_static/jquery-3.3.1.min.js:2
↓ 16 callersFunctiona
(t,n,r,i)
web_static/jquery-3.3.1.min.js:2
↓ 14 callersFunctionye
()
web_static/jquery-3.3.1.min.js:2
↓ 12 callersFunctionse
(e)
web_static/jquery-3.3.1.min.js:2
↓ 12 callersFunctionue
(e)
web_static/jquery-3.3.1.min.js:2
↓ 11 callersFunctioni
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 11 callersFunctionn
(e)
web_static/jquery-3.3.1.min.js:2
↓ 11 callersFunctionroll2
Translates an array in-place by the shift xy, wrapping at the edges.
num_utils.py:136
↓ 11 callersFunctionsaxpy
Sets y = a*x + y for float a and float32 arrays x, y; returns y.
num_utils.py:26
↓ 10 callersMethodarray
(self, shape, dtype)
style_transfer.py:346
↓ 10 callersFunctionk
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 10 callersMethodroll
Rolls the image, feature maps.
style_transfer.py:657
↓ 9 callersFunctionN
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 9 callersFunctions
(e)
web_static/jquery-3.3.1.min.js:2
↓ 9 callersFunctionx
(e)
web_static/jquery-3.3.1.min.js:2
↓ 8 callersFunctionG
(e)
web_static/jquery-3.3.1.min.js:2
↓ 8 callersFunctionmake_msg_type
Makes dataclass-based message types for IPC.
style_transfer.py:149
↓ 8 callersFunctionr
(e)
web_static/jquery-3.3.1.min.js:2
↓ 8 callersMethodupdate
Returns a step's parameter update given a loss/gradient evaluation function.
optimizers.py:26
↓ 8 callersFunctionz
(e,t,n,r,i,o,a)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctionO
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctionfe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctionhe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctionmt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctionsdot
Returns the dot product of two float32 arrays with the same shape.
num_utils.py:20
↓ 7 callersFunctionve
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctionvt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callersFunctiony
(t)
web_static/jquery-3.3.1.min.js:2
↓ 6 callersFunctionae
()
web_static/jquery-3.3.1.min.js:2
↓ 6 callersMethodlayers
Returns the layer names of the network.
style_transfer.py:403
↓ 6 callersFunctiono
(o,a,s,u,c)
web_static/jquery-3.3.1.min.js:2
↓ 5 callersFunctionFe
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 5 callersFunctionRe
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 5 callersMethodlayer_info
Returns the scale factor vs. the image and the number of channels.
style_transfer.py:415
↓ 5 callersMethodset_image
Sets the current model input to a PIL image.
style_transfer.py:395
↓ 5 callersFunctionxe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 4 callersFunction$e
(t)
web_static/jquery-3.3.1.min.js:2
↓ 4 callersFunctionY
(e)
web_static/jquery-3.3.1.min.js:2
↓ 4 callersFunctionme
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 4 callersFunctionnorm2
Returns 1/2 the L2 norm squared.
num_utils.py:69
↓ 4 callersFunctionoe
(e,t,r,i)
web_static/jquery-3.3.1.min.js:2
↓ 4 callersFunctionresize
Resamples an image array in CxHxW format to a new HxW size. The interpolation is performed in floating point and the result dtype is numpy.float32
num_utils.py:90
↓ 4 callersFunctionresize_to_fit
Resizes image to fit into a size-by-size square.
style_transfer.py:963
↓ 4 callersFunctionroll_by_1
Rolls a 3D array in-place by a shift of one element. Axes 1 and 2 only.
num_utils.py:111
↓ 4 callersFunctionut
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 4 callersFunctionwe
(e,t,n,r,i)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionC
(e)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionS
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionZe
(e,t,n,r,i,o)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionce
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionconsume
Consume the iterable.
num_utils.py:199
↓ 3 callersFunctionge
(e)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionj
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionle
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionnormalize
Normalizes an array in-place to have an L1 norm equal to its size.
num_utils.py:85
↓ 3 callersMethodparse_weights
Parses a list of name:number pairs into a normalized dict of weights.
style_transfer.py:685
↓ 3 callersMethodpreprocess_images
Performs preprocessing tasks on the input images.
style_transfer.py:488
↓ 3 callersMethodroll_features
Rolls an individual set of feature maps in-place.
style_transfer.py:647
↓ 3 callersMethodrun
This method runs in the new process.
style_transfer.py:187
↓ 3 callersFunctionsetup_exceptions
()
style_transfer.py:69
↓ 3 callersFunctionu
()
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionxt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 3 callersFunctionzt
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionDe
(e,t,n,r,i,o)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionFt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionIe
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionJe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionLe
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionP
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionPe
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionSe
()
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunction_e
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunction_t
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionde
(e)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersMethodensure_healthy
Checks for abnormal pool process termination.
style_transfer.py:300
↓ 2 callersFunctionet
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctioneval_config
(config_file)
config_system.py:184
↓ 2 callersFunctiongram_matrix
Computes the Gram matrix corresponding to a feature map.
num_utils.py:143
↓ 2 callersFunctionm
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionne
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionp_norm
Returns the pth power of the p-norm and its gradient.
num_utils.py:74
↓ 2 callersMethodpil_to_image
Preprocesses a PIL image into params format.
style_transfer.py:388
↓ 2 callersMethodprepare_features
Averages the set of feature maps for an image over multiple passes to obscure tiling.
style_transfer.py:466
↓ 2 callersMethodput_event
(self, event)
web_interface.py:121
↓ 2 callersMethodrequest
Enqueues a request.
style_transfer.py:284
↓ 2 callersMethodreset_next_worker
Sets the worker which will process the next request to worker 0.
style_transfer.py:290
↓ 2 callersFunctionsasum
Returns the sum of the absolute values of the given float32 array.
num_utils.py:33
↓ 2 callersMethodset_contents_and_styles
Propagates feature maps and Gram matrices to all TileWorkers.
style_transfer.py:309
↓ 2 callersFunctionset_thread_count
Sets the maximum number of MKL threads for this process.
style_transfer.py:87
↓ 2 callersFunctionst
()
web_static/jquery-3.3.1.min.js:2
↓ 2 callersFunctionterminal_bg
Returns the first argument if the terminal has a light background, the second if it has a dark background, and the third if it cannot determine.
style_transfer.py:58
↓ 1 callersFunctionCe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionEe
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionKe
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionMe
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionQe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionR
(e)
web_static/jquery-3.3.1.min.js:2
next →1–100 of 206, ranked by callers