MCPcopy Create free account

hub / github.com/AI4Science-WestlakeU/wdno / functions

Functions1,208 in github.com/AI4Science-WestlakeU/wdno

↓ 1 callersFunction_conv_laplace_3d
(tensor)
smoke/phi/math/nd.py:222
↓ 1 callersMethod_create_centered_velocity_mask
(self, fluid_mask, spatial_dimensions=None)
smoke/phi/flow.py:475
↓ 1 callersMethod_create_staggered_velocity_mask
(self, fluid_mask, spatial_dimensions=None)
smoke/phi/flow.py:456
↓ 1 callersFunction_dijkstra_step
(tensor)
smoke/phi/control/distances.py:11
↓ 1 callersFunction_forward_diff_nd
(field, dims)
smoke/phi/math/nd.py:172
↓ 1 callersFunction_forward_divergence_nd
(field)
smoke/phi/math/nd.py:105
↓ 1 callersFunction_initial_dijkstra_tensor
(target_mask)
smoke/phi/control/distances.py:4
↓ 1 callersMethod_loss
(self, pred, targ)
smoke/ddpm/modules.py:215
↓ 1 callersMethod_mac_block_advection
(self, field_mac, dt)
smoke/phi/math/nd.py:474
↓ 1 callersFunction_pyramid_combination
(samples, w_0, w_1)
smoke/phi/math/tensorflow_backend.py:302
↓ 1 callersMethod_relative_position_bucket
(relative_position, num_buckets = 32, max_distance = 128)
smoke/video_diffusion_pytorch/video_diffusion_pytorch.py:80
↓ 1 callersMethod_relative_position_bucket
(relative_position, num_buckets = 32, max_distance = 128)
smoke/video_diffusion_pytorch/video_diffusion_pytorch_conv3d.py:87
↓ 1 callersFunction_resample_linear_niftynet
(inputs, sample_coords, boundary, boundary_func)
smoke/phi/math/tensorflow_backend.py:263
↓ 1 callersFunction_sliced_laplace_nd
(tensor)
smoke/phi/math/nd.py:229
↓ 1 callersMethod_staggered_curl_2d
(self)
smoke/phi/math/nd.py:538
↓ 1 callersMethod_staggered_curl_3d
Calculates the curl operator on a staggered three-dimensional field. The resulting vector field is a staggered grid. If the velocities of
smoke/phi/math/nd.py:513
↓ 1 callersFunction_weighted_sliced_laplace_nd
(tensor, weights)
smoke/phi/math/nd.py:244
↓ 1 callersMethodabs
(self, x)
smoke/phi/math/tensorflow_backend.py:94
↓ 1 callersMethodadd_custom_property
(self, key, value)
smoke/phi/model.py:216
↓ 1 callersMethodadd_run
(self, run_metadata=None)
smoke/phi/tf/profiling.py:31
↓ 1 callersMethodadd_trait
(self, trait)
smoke/phi/model.py:171
↓ 1 callersMethodany_array
(self, datasource)
smoke/phi/data/data.py:41
↓ 1 callersMethodas_default
(self)
smoke/phi/flow.py:147
↓ 1 callersMethodas_dict
(self)
smoke/phi/flow.py:335
↓ 1 callersMethodaugment_single
(self, array, perm)
smoke/phi/data/augment.py:41
↓ 1 callersMethodbase_feed_dict
(self)
smoke/phi/tf/model.py:156
↓ 1 callersFunctionbenchmark_laplace_matrix_cuda
(tests, dimension, warmup=10, testruns=50)
smoke/phi/solver/cuda/benchmarks/benchmark_utils.py:194
↓ 1 callersFunctionbenchmark_laplace_matrix_phi
(tests, dimension, warmup=10, testruns=50)
smoke/phi/solver/cuda/benchmarks/benchmark_utils.py:262
↓ 1 callersMethodboolean_mask
(self, x, mask)
smoke/phi/math/base.py:116
↓ 1 callersMethodbranch_execute
(self, n, start_frame_index, **kwargs)
smoke/phi/control/sequences.py:60
↓ 1 callersMethodbuild
(self, fieldnames_or_placeholders)
smoke/phi/data/data.py:415
↓ 1 callersMethodbuild
(self, fieldnames_or_placeholders)
smoke/phi/data/data.py:495
↓ 1 callersFunctionbuild_function
(method)
smoke/phi/flow.py:350
↓ 1 callersFunctionbuild_obstacles_pi_128
(sim)
smoke/dataset/evaluate_solver.py:32
↓ 1 callersFunctionbuild_obstacles_pi_128
(sim)
smoke/dataset/a_gen_test_128.py:168
↓ 1 callersFunctionbuild_obstacles_pi_128
Function: Set obstacles Input: sim: FluidSimulation object
smoke/dataset/a_gen_train.py:202
↓ 1 callersFunctionbuild_obstacles_pi_128
(sim)
smoke/dataset/a_gen_test_64.py:182
↓ 1 callersFunctioncheck_directory
Check if data and log directories exist, and create otherwise Args: Returns: None
burgers/ddpm_burgers/generate_burgers.py:72
↓ 1 callersFunctioncheck_files
Check if data files exist. Will NOT replace them.
burgers/ddpm_burgers/generate_burgers.py:62
↓ 1 callersMethodcheck_rank
(self, rank)
smoke/phi/flow.py:401
↓ 1 callersFunctionclamp
(coordinates, shape)
smoke/phi/math/scipy_backend.py:181
↓ 1 callersMethodclear_domain
Removes all obstacles and empty cells from the simulation domain.
smoke/phi/flow.py:159
↓ 1 callersFunctioncollapse_equals
(obj, leaf_type)
smoke/phi/flow.py:501
↓ 1 callersMethodconfig_recording
(self, images, data, fields)
smoke/phi/model.py:353
↓ 1 callersMethodcontrol_frames
(self)
smoke/phi/control/control_scene.py:33
↓ 1 callersMethodcopy_src
(self, path)
smoke/phi/fluidformat.py:180
↓ 1 callersFunctioncosine_beta_schedule
cosine schedule as proposed in https://openreview.net/forum?id=-NEXDKk8gZ
burgers/ddpm_burgers/model_utils.py:147
↓ 1 callersFunctioncosine_beta_schedule
cosine schedule as proposed in https://openreview.net/forum?id=-NEXDKk8gZ
smoke/video_diffusion_pytorch/video_diffusion_pytorch.py:576
↓ 1 callersFunctioncosine_beta_schedule
cosine schedule as proposed in https://openreview.net/forum?id=-NEXDKk8gZ
smoke/video_diffusion_pytorch/video_diffusion_pytorch_conv3d.py:584
↓ 1 callersMethodcreate_frame
(self, index, step_count)
smoke/phi/control/sequences.py:6
↓ 1 callersFunctioncropped_mask
(location)
smoke/phi/control/voxelutil.py:94
↓ 1 callersMethodcuda_solve_forward
(self, divergence, active_mask, fluid_mask, accuracy, max_iterations)
smoke/phi/solver/cuda/cuda.py:30
↓ 1 callersMethodcustom_properties
(self)
smoke/phi/model.py:251
↓ 1 callersFunctioncycle
(dl)
smoke/ddpm/utils.py:148
↓ 1 callersFunctioncycle
(dl)
smoke/ddpm/diffusion_2d.py:45
↓ 1 callersFunctioncycle
(dl)
smoke/video_diffusion_pytorch/video_diffusion_pytorch.py:39
↓ 1 callersFunctioncycle
(dl)
smoke/video_diffusion_pytorch/video_diffusion_pytorch_conv3d.py:46
↓ 1 callersFunctiondata_merge
merges b into a and return merged result NOTE: side effect: a is modified NOTE: tuples and arbitrary objects are not handled as it is totally
burgers/ddpm_burgers/result_io.py:12
↓ 1 callersMethoddecode_index
(self, index)
smoke/phi/data/data.py:181
↓ 1 callersMethoddecode_indices
(self, indices)
smoke/phi/data/data.py:171
↓ 1 callersFunctiondesign_fn
(x, low=None, init=None, init_u=None)
smoke/inference_2d.py:81
↓ 1 callersMethoddevice
(self)
burgers/ddpm_burgers/train_diffusion.py:145
↓ 1 callersFunctiondivergence
Computes the spatial divergence of a vector field from finite differences. :param vel: tensor of shape (batch size, spatial dimensions..., spatia
smoke/phi/math/nd.py:86
↓ 1 callersMethoddot
(self, a, b, axes)
smoke/phi/math/base.py:52
↓ 1 callersMethoddot
(self, a, b, axes)
smoke/phi/math/scipy_backend.py:89
↓ 1 callersFunctiondraw_pic
(des, ver_bound, hor_bound, frame, save_pic_path, name=None)
smoke/dataset/evaluate_solver.py:228
↓ 1 callersMethoddraw_vector_field
(self, vector_field, library)
smoke/phi/viz/plot.py:205
↓ 1 callersMethodeditable_float
(self, name, initial_value, minmax=None, log_scale=None)
smoke/phi/tf/model.py:36
↓ 1 callersFunctionevaluate
( model_i, super_model_i, args, # exp settings Ntest=50, batch_size=25, # gui
burgers/eval_ddpm_burgers.py:244
↓ 1 callersMethodexecute_step
(self, initial_frame, target_frame)
smoke/phi/control/sequences.py:9
↓ 1 callersFunctionexp2_same_side_128
(is_train_, fix_velocity_, Test_, branch_num, data_savepath)
smoke/dataset/a_gen_test_128.py:593
↓ 1 callersFunctionexp2_target_128
()
smoke/dataset/a_gen_test_128.py:246
↓ 1 callersFunctionexp2_target_128
Function: Get x,y for turns Output: xs: list x-position for each turn ys: list y-position for each turn
smoke/dataset/a_gen_train.py:300
↓ 1 callersFunctionexp2_target_128
()
smoke/dataset/a_gen_test_64.py:260
↓ 1 callersFunctionexplicit_dipole_pressure
(div, num=1)
smoke/phi/solver/explicit.py:5
↓ 1 callersMethodfield_lookup
(self, fieldname)
smoke/phi/data/data.py:324
↓ 1 callersMethodfill_feed_dict
(self, feed_dict, placeholders, subrange=None)
smoke/phi/data/data.py:438
↓ 1 callersFunctionflags_array
(fluid_mask, dimensions)
smoke/phi/solver/manta.py:50
↓ 1 callersMethodfloor
(self, x)
smoke/phi/math/tensorflow_backend.py:100
↓ 1 callersMethodforward_with_cond_scale
( self, *args, cond_scale = 2., **kwargs )
smoke/video_diffusion_pytorch/video_diffusion_pytorch.py:472
↓ 1 callersMethodforward_with_cond_scale
( self, *args, cond_scale = 2., **kwargs )
smoke/video_diffusion_pytorch/video_diffusion_pytorch_conv3d.py:474
↓ 1 callersMethodfrom_scalar
(scalar_field, axis_forces, padding_mode="constant")
smoke/phi/math/nd.py:617
↓ 1 callersFunctiongenerate_blocks
(shape, blocks=1, blockwidth=3, blockheight=3, total_amount=100, margin=10)
smoke/phi/control/control.py:55
↓ 1 callersFunctiongenerate_data_burgers_equation
Generate data for Burgers' equation Args: experiment (str): experiment string pde (dict): dictionary for PDEs at different re
burgers/ddpm_burgers/generate_burgers.py:278
↓ 1 callersFunctiongenerate_random_blocks
(shape, total_amount=100, margin=10)
smoke/phi/control/control.py:68
↓ 1 callersMethodget
(self, invalidation_version)
smoke/phi/model.py:32
↓ 1 callersMethodget
(self, fieldname, index)
smoke/phi/data/data.py:248
↓ 1 callersMethodget
(self, datasource, indices)
smoke/phi/data/augment.py:27
↓ 1 callersMethodget_any
(self, fieldname)
smoke/phi/data/data.py:233
↓ 1 callersMethodget_batch_size
(self)
smoke/phi/data/data.py:455
↓ 1 callersFunctionget_bert
()
smoke/video_diffusion_pytorch/text.py:19
↓ 1 callersFunctionget_bucket_mask
()
smoke/dataset/evaluate_solver.py:111
↓ 1 callersFunctionget_bucket_mask
()
smoke/dataset/a_gen_test_128.py:378
↓ 1 callersFunctionget_bucket_mask
Function: get absorb area
smoke/dataset/a_gen_train.py:459
↓ 1 callersFunctionget_bucket_mask
()
smoke/dataset/a_gen_test_64.py:399
↓ 1 callersMethodget_controller
Returns a context manager for manipulating a default stack.
smoke/phi/flow.py:33
↓ 1 callersFunctionget_dataset
(RESCALER, is_wavelet, wave_type, pad_mode, dataset='1d')
burgers/train_ddpm_burgers.py:75
↓ 1 callersFunctionget_domain_name
()
smoke/dataset/a_gen_test_128.py:411
↓ 1 callersFunctionget_domain_name
()
smoke/dataset/a_gen_train.py:498
↓ 1 callersFunctionget_domain_name
()
smoke/dataset/a_gen_test_64.py:432
← previousnext →301–400 of 1,208, ranked by callers