↓ 4 callersFunctionburgers_numeric_solve_free Simulates trajectories based on u0 and f. Trajectory i is based on u0[i, :] and f[i, :, :] Args: u0: (N,s), N is the number of s
burgers/ddpm_burgers/generate_burgers.py:104
↓ 4 callersFunctionupsample_coef upsample the wavelet coefficients to the target shape (old) w_sub: [N, layer, nt(maybe padded), nx(maybe padded)] (old) w: [N, layer, sha
burgers/ddpm_burgers/wavelet_utils.py:5
↓ 4 callersMethodwith_custom_gradient(self, function, inputs, gradient, input_index=0, output_index=None, name_base="custom_gradient_func")
smoke/phi/math/base.py:80
↓ 3 callersFunctionget_2d_ddpm(shape, ori_shape, args, RESCALER, is_super_model, upsample_t=0, upsample_x=0)
burgers/train_ddpm_burgers.py:128
↓ 3 callersFunctionget_wavelet_super_preprocess(
rescaler=70,
is_super_model=False,
N_downsample=0,
mode='zero',
wave_type='bior2.4',
burgers/ddpm_burgers/data_burgers_1d.py:20
↓ 3 callersMethodmodel_predictions(self, x, t, x_self_cond = None, clip_x_start = False, rederive_pred_noise = False, **kwargs)
burgers/ddpm_burgers/diffusion_1d.py:205
↓ 3 callersMethodmodel_predictions(self, shape, x, t, x_self_cond = None, clip_x_start = False, rederive_pred_noise = False, design_fn = None, d
smoke/ddpm/diffusion_2d.py:723
↓ 3 callersMethodpy_func(self, func, inputs, Tout, shape_out, stateful=True, name=None, grad=None)
smoke/phi/math/base.py:40
↓ 3 callersMethodsample(self, batch_size = 16, N_upsample=0, design_fn = None, design_guidance="standard", init=None, init_u=None, co
smoke/ddpm/diffusion_2d.py:936
↓ 3 callersFunctionupsample_coef upsample the wavelet coefficients to the target shape w_sub: [N, nt, layer, nx, nx] tyoe: 'time' or 'space' w: [N, 2*nt, layer, nx, n
smoke/ddpm/wave_utils.py:1
↓ 3 callersFunctionwrite_vel_density(loop_velocity,loop_advected_density,loop_density_no_set,density_write,density_set_zero_write,velocity_write,f
smoke/dataset/a_gen_test_128.py:415
↓ 3 callersFunctionwrite_vel_density(loop_velocity,loop_advected_density,loop_density_no_set,density_write,density_set_zero_write,velocity_write,f
smoke/dataset/a_gen_test_64.py:436
↓ 2 callersMethod__init__(self, sim, true_densities, trainable_n, info, force_inference, ik_trainable=False)
smoke/phi/control/iksm.py:84
↓ 2 callersFunctionbenchmark_error(cudaSolver, numpySolver, tests, dimension, testruns=50, accuracy=1e-5)
smoke/phi/solver/cuda/benchmarks/benchmark_utils.py:130
↓ 2 callersFunctioncoef_to_tensor return: repeat Yh[i] 2**i times if pad: [Yl.shape[0], Yl.shape[1], 1+3*J, 64, 64] else: [Yl.shape[0], Yl.shape[1], 1+3*J, Yh[0].shape[-2
burgers/wave_trans.py:43
↓ 2 callersFunctionddpm_guidance_loss Arguments: u_target: (batch_size, Nt, Nx) u: (batch_size, Nt, Nx) f: (batch_size, Nt - 1, Nx)
burgers/ddpm_burgers/test_util.py:100