Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RameenAbdal/StyleFlow
/ functions
Functions
329 in github.com/RameenAbdal/StyleFlow
⨍
Functions
329
◇
Types & classes
48
↓ 21 callers
Method
run
Run this network for the given NumPy array(s), and return the output(s) as NumPy array(s). Args: input_transform: A dict speci
dnnlib/tflib/network.py:353
↓ 16 callers
Function
_shape
(tf_expr, dim_idx)
dnnlib/tflib/ops/upfirdn_2d.py:337
↓ 13 callers
Method
clone
Create a clone of this network with its own copy of the variables.
dnnlib/tflib/network.py:301
↓ 12 callers
Method
update
Do general housekeeping and keep the state of the context up-to-date. Should be called often enough but not in a tight loop.
dnnlib/submission/run_context.py:63
↓ 11 callers
Method
reset_items
(self)
ui/GT_mouse_event.py:17
↓ 8 callers
Method
generate_im_from_w_space
(self, w)
utils.py:248
↓ 7 callers
Method
get
()
dnnlib/submission/run_context.py:106
↓ 7 callers
Method
reset
(self)
ui/GT_mouse_event.py:14
↓ 6 callers
Method
__init__
(self, dim_in, dim_out, dim_c)
module/diffeq_layers.py:61
↓ 5 callers
Function
_setup_kernel
(k)
dnnlib/tflib/ops/upfirdn_2d.py:344
↓ 5 callers
Function
_simple_upfirdn_2d
(x, k, up=1, down=1, pad0=0, pad1=0, data_format='NCHW', impl='cuda')
dnnlib/tflib/ops/upfirdn_2d.py:353
↓ 4 callers
Function
assert_tf_initialized
Check that TensorFlow session has been initialized.
dnnlib/tflib/tfutil.py:135
↓ 4 callers
Method
close
Close the context and clean up. Should only be called once.
dnnlib/submission/run_context.py:90
↓ 4 callers
Method
get_var
Get the value of a given variable as NumPy array. Note: This method is very inefficient -- prefer to use tflib.run(list_of_vars) whenever poss
dnnlib/tflib/network.py:245
↓ 4 callers
Method
render
(self, attr_index, raw_slide_value, sess)
ui/real_time_attr_thread.py:23
↓ 4 callers
Method
shape
(self)
module/normalization.py:30
↓ 3 callers
Method
__init__
(self)
module/odefunc.py:31
↓ 3 callers
Method
_init_fields
(self)
dnnlib/tflib/network.py:100
↓ 3 callers
Method
_init_graph
(self)
dnnlib/tflib/network.py:125
↓ 3 callers
Method
close
Flush, close possible files, and remove stdout/stderr mirroring.
dnnlib/util.py:93
↓ 3 callers
Function
cnf
(input_dim,dims,zdim,num_blocks)
module/flow.py:77
↓ 3 callers
Method
find_var
Find variable by local or global name.
dnnlib/tflib/network.py:240
↓ 3 callers
Function
get_obj_from_module
Traverses the object name and returns the last (rightmost) python object.
dnnlib/util.py:235
↓ 3 callers
Function
get_path_from_template
Replace tags in the given path template and return either Windows or Linux formatted path.
dnnlib/submission/submit.py:116
↓ 3 callers
Function
run
Run the specified ops in the default session.
dnnlib/tflib/tfutil.py:28
↓ 3 callers
Method
setupUi
(self, Form)
ui/ui.py:75
↓ 3 callers
Method
update_GT_scene_image
(self)
main.py:127
↓ 3 callers
Method
update_scene_image
(self)
main.py:117
↓ 2 callers
Function
_create_var
Internal helper for creating autosummary accumulators.
dnnlib/tflib/autosummary.py:45
↓ 2 callers
Method
_get_device
Get internal state for the given TensorFlow device.
dnnlib/tflib/optimizer.py:84
↓ 2 callers
Function
_get_plugin
()
dnnlib/tflib/ops/upfirdn_2d.py:14
↓ 2 callers
Method
_logdetgrad
(self, x, used_var)
module/normalization.py:111
↓ 2 callers
Function
_make_iter_
(loader)
module/utils.py:172
↓ 2 callers
Function
_prepare_nvcc_cli
(opts)
dnnlib/tflib/custom_ops.py:63
↓ 2 callers
Function
_run_cmd
(cmd)
dnnlib/tflib/custom_ops.py:56
↓ 2 callers
Function
_sanitize_tf_config
(config_dict: dict = None)
dnnlib/tflib/tfutil.py:84
↓ 2 callers
Function
absolute_name_scope
Forcefully enter the specified name scope, ignoring any surrounding scopes.
dnnlib/tflib/tfutil.py:74
↓ 2 callers
Method
copy_vars_from
Copy the values of all variables from the given network, including sub-networks.
dnnlib/tflib/network.py:321
↓ 2 callers
Method
flush
Flush written text to both stdout and a file, if open.
dnnlib/util.py:86
↓ 2 callers
Function
func_y
(x, b)
dnnlib/tflib/ops/fused_bias_act.py:126
↓ 2 callers
Method
get_loss_scaling_var
Get or create variable representing log2 of the current dynamic loss scaling factor.
dnnlib/tflib/optimizer.py:271
↓ 2 callers
Function
get_module_from_obj_name
Searches for the underlying module behind the name to some python object. Returns the module and the object name (original name with module part r
dnnlib/util.py:194
↓ 2 callers
Function
get_user_name
Get the current user name.
dnnlib/submission/submit.py:157
↓ 2 callers
Function
grad2_d_dy
(d_dx, d_db, x, y)
dnnlib/tflib/ops/fused_bias_act.py:149
↓ 2 callers
Function
grad_db
(dx)
dnnlib/tflib/ops/fused_bias_act.py:137
↓ 2 callers
Function
grad_dx
(dy, x, y)
dnnlib/tflib/ops/fused_bias_act.py:132
↓ 2 callers
Function
is_tf_expression
Check whether the input is a valid Tensorflow expression, i.e., Tensorflow Tensor, Variable, or Operation.
dnnlib/tflib/tfutil.py:34
↓ 2 callers
Method
parse
(self)
options/base_options.py:53
↓ 2 callers
Method
pre_computing_distance
(self)
main_attribute.py:120
↓ 2 callers
Function
reduce_tensor
(tensor, world_size=None)
module/utils.py:83
↓ 2 callers
Method
reset_own_vars
Re-initialize all variables of this network, excluding sub-networks.
dnnlib/tflib/network.py:187
↓ 2 callers
Method
update_GT_scene_image
(self)
main_attribute.py:135
↓ 1 callers
Method
__enter__
(self)
dnnlib/submission/run_context.py:57
↓ 1 callers
Method
__init__
(self, opt)
main_attribute.py:45
↓ 1 callers
Method
__init__
(self, opt)
main.py:46
↓ 1 callers
Method
__init__
(self, odefunc, conditional=True, T=1.0, train_T=False, regularization_fns=None, solver='dop
module/cnf.py:35
↓ 1 callers
Method
__init__
(self, Form)
ui/mouse_event2.py:16
↓ 1 callers
Method
__init__
(self, Form)
ui/mouse_event.py:16
↓ 1 callers
Function
_create_run_dir_local
Create a new run dir with increasing ID number at the start.
dnnlib/submission/submit.py:192
↓ 1 callers
Function
_find_compiler_bindir
()
dnnlib/tflib/custom_ops.py:36
↓ 1 callers
Function
_flip
(x, dim)
module/cnf.py:125
↓ 1 callers
Method
_forward
(self, x, logpx=None)
module/normalization.py:46
↓ 1 callers
Function
_fused_bias_act_ref
Slow reference implementation of `fused_bias_act()` using standard TensorFlow ops.
dnnlib/tflib/ops/fused_bias_act.py:72
↓ 1 callers
Function
_get_compute_cap
(device)
dnnlib/tflib/custom_ops.py:42
↓ 1 callers
Function
_get_cuda_gpu_arch_string
()
dnnlib/tflib/custom_ops.py:49
↓ 1 callers
Function
_get_next_run_id_local
Reads all directory names in a given directory (non-recursive) and returns the next (increasing) run id. Assumes IDs are numbers at the start of the d
dnnlib/submission/submit.py:211
↓ 1 callers
Function
_get_plugin
()
dnnlib/tflib/ops/fused_bias_act.py:15
↓ 1 callers
Function
_handle_legacy_output_transforms
(output_transform, dynamic_kwargs)
dnnlib/tflib/network.py:555
↓ 1 callers
Function
_populate_run_dir
Copy all necessary files into the run dir. Assumes that the dir exists, is local, and is writable.
dnnlib/submission/submit.py:227
↓ 1 callers
Method
_reverse
(self, y, logpy=None)
module/normalization.py:93
↓ 1 callers
Method
add_Parameters_widgets
(self,Form)
ui/ui2.py:218
↓ 1 callers
Method
add_Parameters_widgets
(self,Form)
ui/ui.py:214
↓ 1 callers
Method
add_intermediate_results_button
(self, Form)
ui/ui2.py:174
↓ 1 callers
Method
add_intermediate_results_button
(self, Form)
ui/ui.py:167
↓ 1 callers
Method
add_lighting_widgets
(self,Form)
ui/ui.py:286
↓ 1 callers
Method
add_tool_buttons
(self, Form)
ui/ui2.py:117
↓ 1 callers
Method
add_tool_buttons
(self, Form)
ui/ui.py:110
↓ 1 callers
Method
apply_gradients
(self, grads_and_vars)
dnnlib/tflib/optimizer.py:308
↓ 1 callers
Method
apply_loss_scaling
Apply dynamic loss scaling for the given expression.
dnnlib/tflib/optimizer.py:275
↓ 1 callers
Method
before_odeint
(self, e=None)
module/odefunc.py:111
↓ 1 callers
Function
build_cnf
()
module/flow.py:41
↓ 1 callers
Function
build_model
( input_dim, hidden_dims, context_dim, num_blocks, conditional)
module/flow.py:40
↓ 1 callers
Method
compute_gradients
(self, loss, var_list, gate_gradients=tf.train.Optimizer.GATE_NONE)
dnnlib/tflib/optimizer.py:304
↓ 1 callers
Function
convert_path
Convert a normal path to template and the convert it back to a normal path with given path type.
dnnlib/submission/submit.py:144
↓ 1 callers
Function
count_parameters
(model)
module/flow.py:21
↓ 1 callers
Function
create_session
Create tf.Session based on config dict.
dnnlib/tflib/tfutil.py:141
↓ 1 callers
Function
finalize_autosummaries
Create the necessary ops to include autosummaries in TensorBoard report. Note: This should be done only once per graph.
dnnlib/tflib/autosummary.py:118
↓ 1 callers
Method
finalize_submit_config
(self, submit_config, host_run_dir)
dnnlib/submission/internal/local.py:15
↓ 1 callers
Method
forward
(self, x, c=None, logpx=None, reverse=False)
module/normalization.py:40
↓ 1 callers
Function
func
(x)
dnnlib/tflib/ops/upfirdn_2d.py:131
↓ 1 callers
Function
func_nonzero_2nd_grad
(x, b)
dnnlib/tflib/ops/fused_bias_act.py:176
↓ 1 callers
Function
func_zero_2nd_grad
(x, b)
dnnlib/tflib/ops/fused_bias_act.py:162
↓ 1 callers
Method
gather_options
(self)
options/base_options.py:27
↓ 1 callers
Function
get_obj_by_name
Finds the python object with the given name.
dnnlib/util.py:245
↓ 1 callers
Method
get_output_for
Construct TensorFlow expression(s) for the output(s) of this network, given the input expression(s).
dnnlib/tflib/network.py:199
↓ 1 callers
Function
get_path_or_url
(path_or_gdrive_path)
pretrained_networks.py:57
↓ 1 callers
Function
get_template_from_path
Convert a normal path back to its template representation.
dnnlib/submission/submit.py:138
↓ 1 callers
Function
grad2_d_x
(d_dx, d_db, x, y)
dnnlib/tflib/ops/fused_bias_act.py:154
↓ 1 callers
Function
grad_impl
(dy, x)
dnnlib/tflib/ops/fused_bias_act.py:180
↓ 1 callers
Function
gram_matrix
(input_tensor)
utils.py:123
next →
1–100 of 329, ranked by callers