MCPcopy Create free account

hub / github.com/KareemYousrii/SPL / functions

Functions1,219 in github.com/KareemYousrii/SPL

Methodforward
(self, x)
grids/grid_net.py:43
Methodforward
(self, x)
grids/sushi_net.py:37
Methodforward
(self, x)
grids/GatingFunction.py:55
Methodforward
(ctx, input, other)
grids/pypsdd/pypsdd/sdd.py:45
Methodforward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:398
Methodforward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:438
Methodforward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:482
Methodforward_pass
(self, input, true_shortest_paths, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:529
Methodfrom_bitset
new (complete) Inst from bitstring
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:270
Methodfrom_bitset
new (complete) Inst from bitstring
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:270
Methodfrom_bitset
new (complete) Inst from bitstring
grids/pypsdd/sdd/data.py:270
Methodfrom_bitset
new (complete) Inst from bitstring
grids/pypsdd/pypsdd/data.py:270
Methodfrom_dict
new (possibly incomplete) Inst from dictionary.
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:262
Methodfrom_dict
new (possibly incomplete) Inst from dictionary.
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:262
Methodfrom_dict
new (possibly incomplete) Inst from dictionary.
grids/pypsdd/sdd/data.py:262
Methodfrom_dict
new (possibly incomplete) Inst from dictionary.
grids/pypsdd/pypsdd/data.py:262
Methodfrom_list
new (possibly incomplete) Inst from list.
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:253
Methodfrom_list
new (possibly incomplete) Inst from list.
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:253
Methodfrom_list
new (possibly incomplete) Inst from list.
grids/pypsdd/sdd/data.py:253
Methodfrom_list
new (possibly incomplete) Inst from list.
grids/pypsdd/pypsdd/data.py:253
Methodfrom_literal
new Inst from literal
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:280
Methodfrom_literal
(cls,lit,weight=0.0)
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:431
Methodfrom_literal
new Inst from literal
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:280
Methodfrom_literal
(cls,lit,weight=0.0)
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:431
Methodfrom_literal
new Inst from literal
grids/pypsdd/sdd/data.py:280
Methodfrom_literal
(cls,lit,weight=0.0)
grids/pypsdd/sdd/data.py:431
Methodfrom_literal
new Inst from literal
grids/pypsdd/pypsdd/data.py:280
Methodfrom_literal
(cls,lit,weight=0.0)
grids/pypsdd/pypsdd/data.py:431
Methodgenerate_tf_ac
Generates a tensorflow arithmetic circuit according to the weighted model counting procedure for this SDD. Assumes the SDD is normalized.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:903
Methodgenerate_tf_ac
Generates a tensorflow arithmetic circuit according to the weighted model counting procedure for this SDD. Assumes the SDD is normalized.
grids/pypsdd/pypsdd/sdd.py:1010
Methodgenerate_torch_ac_stable
(self, litleaves)
C-HMCNN/hmc-utils/compute_mpe.py:98
Methodgenerate_torch_ac_stable
(self, litleaves)
grids/compute_mpe.py:78
Methodget_batch
(self, size)
grids/sushi_data.py:57
Methodget_batch
(self, size)
grids/grid_data.py:55
Functionget_caller_file
(depth=2)
WarcraftShortestPath/utils.py:220
Functionget_data_and_loaders
(dataset_name, batch_size, device)
C-HMCNN/common.py:113
Methodget_marginals
(self)
C-HMCNN/hmc-utils/compute_mpe.py:83
Methodget_models
(self)
C-HMCNN/hmc-utils/compute_mpe.py:126
Methodget_models
(self)
grids/compute_mpe.py:106
Functionget_neighbors
(i,j)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:25
Methodget_norm_ac
(self, litleaves)
grids/compute_mpe.py:69
Methodget_sample
(self, batch_size)
C-HMCNN/hmc-utils/compute_mpe.py:78
Functionget_sample_generator
(samples, hyperparam_dict, distribution_list, extra_settings=None)
WarcraftShortestPath/utils.py:277
Methodget_torch_ac
(self, litleaves)
grids/compute_mpe.py:75
Functionget_trainer
(trainer_name)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:21
Methodget_weighted_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:561
Methodget_weighted_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
grids/pypsdd/pypsdd/sdd.py:561
Functiongrid_to_im_coordinate
(grid_x, grid_y, grid_x_max, grid_y_max, im_width, im_height)
WarcraftShortestPath/utils.py:154
Methodgumbel_sampling
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:1232
Methodgumbel_sampling
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:1385
Methodhard_sampling
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:1198
Methodhard_sampling
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:1351
Methodheight
Returns the height of the vtree
C-HMCNN/hmc-utils/pypsdd/sdd/vtree.py:89
Methodheight
Returns the height of the vtree
C-HMCNN/hmc-utils/pypsdd/pypsdd/vtree.py:89
Methodheight
Returns the height of the vtree
grids/pypsdd/sdd/vtree.py:89
Methodheight
Returns the height of the vtree
grids/pypsdd/pypsdd/vtree.py:89
Methodinduce_sub_circuit
(inst,node)
C-HMCNN/hmc-utils/pypsdd/sdd/psdd.py:453
Methodinduce_sub_circuit
(inst,node)
C-HMCNN/hmc-utils/pypsdd/pypsdd/psdd.py:453
Methodinduce_sub_circuit
(inst,node)
grids/pypsdd/sdd/psdd.py:453
Methodinduce_sub_circuit
(inst,node)
grids/pypsdd/pypsdd/psdd.py:453
Functioninitialize_dataset
(name, datasets)
cutils/parser.py:83
Functioninitialize_other_dataset
(name, datasets)
cutils/parser.py:87
Methodinitialize_psdd
Initialize the parameters of a PSDD.
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:64
Methodinitialize_psdd
Initialize the parameters of a PSDD.
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:64
Methodinitialize_psdd
Initialize the parameters of a PSDD.
grids/pypsdd/sdd/prior.py:64
Methodinitialize_psdd
Initialize the parameters of a PSDD.
grids/pypsdd/pypsdd/prior.py:64
Methodinstances
generates all instantiations over var_count variables
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:88
Methodinstances
generates all instantiations over var_count variables
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:88
Methodinstances
generates all instantiations over var_count variables
grids/pypsdd/sdd/data.py:88
Methodinstances
generates all instantiations over var_count variables
grids/pypsdd/pypsdd/data.py:88
Methodis_compatible
Returns true if inst is compatible with lit, and false otherwise
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:412
Methodis_compatible
Returns true if inst is compatible with lit, and false otherwise
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:412
Methodis_compatible
Returns true if inst is compatible with lit, and false otherwise
grids/pypsdd/sdd/data.py:412
Methodis_compatible
Returns true if inst is compatible with lit, and false otherwise
grids/pypsdd/pypsdd/data.py:412
Methodis_model_marker_torch
Returns None if inst is not a model, otherwise it returns the value/element that is satisfied. inst should be of type Inst or InstMap
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:316
Methodis_model_marker_torch
Returns None if inst is not a model, otherwise it returns the value/element that is satisfied. inst should be of type Inst or InstMap
grids/pypsdd/pypsdd/sdd.py:316
Functionis_valid_label_fn
(suggested_path)
WarcraftShortestPath/warcraft_shortest_path/metrics.py:41
Methoditerator
()
WarcraftShortestPath/utils.py:124
Methodlast_node
Returns the right-most leaf node in the vtree
C-HMCNN/hmc-utils/pypsdd/sdd/vtree.py:82
Methodlast_node
Returns the right-most leaf node in the vtree
C-HMCNN/hmc-utils/pypsdd/pypsdd/vtree.py:82
Methodlast_node
Returns the right-most leaf node in the vtree
grids/pypsdd/sdd/vtree.py:82
Methodlast_node
Returns the right-most leaf node in the vtree
grids/pypsdd/pypsdd/vtree.py:82
Methodll_bak
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:829
Functionload_dataset
(data_dir, use_test_set, evaluate_with_extra, normalize, use_local_path)
WarcraftShortestPath/warcraft_shortest_path/data_utils.py:10
Functionload_pickle
(path)
WarcraftShortestPath/utils.py:85
Functionload_pngs
(path)
WarcraftShortestPath/utils.py:90
Functionlog1mexp
(x)
C-HMCNN/train.py:30
Functionlog1mexp
(x)
C-HMCNN/test.py:29
Methodlog_posterior
Computes the (unnormalized) log posterior: log Pr(theta | data) = log Pr(data | theta) + log Pr(theta) - log Pr(data)
C-HMCNN/hmc-utils/pypsdd/sdd/psdd.py:387
Methodlog_posterior
Computes the (unnormalized) log posterior: log Pr(theta | data) = log Pr(data | theta) + log Pr(theta) - log Pr(data)
C-HMCNN/hmc-utils/pypsdd/pypsdd/psdd.py:387
Methodlog_posterior
Computes the (unnormalized) log posterior: log Pr(theta | data) = log Pr(data | theta) + log Pr(theta) - log Pr(data)
grids/pypsdd/sdd/psdd.py:387
Methodlog_posterior
Computes the (unnormalized) log posterior: log Pr(theta | data) = log Pr(data | theta) + log Pr(theta) - log Pr(data)
grids/pypsdd/pypsdd/psdd.py:387
Methodlog_prior
Computes log Pr(theta)
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:85
Methodlog_prior
Computes log Pr(theta)
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:85
Methodlog_prior
Computes log Pr(theta)
grids/pypsdd/sdd/prior.py:85
Methodlog_prior
Computes log Pr(theta)
grids/pypsdd/pypsdd/prior.py:85
Methodminimum_cardinality
AC: NEED TO TEST
C-HMCNN/hmc-utils/pypsdd/sdd/sdd.py:308
Methodminimum_cardinality
AC: NEED TO TEST
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:453
Methodminimum_cardinality
AC: NEED TO TEST
grids/pypsdd/sdd/sdd.py:308
Methodminimum_cardinality
AC: NEED TO TEST
grids/pypsdd/pypsdd/sdd.py:453
← previousnext →1,001–1,100 of 1,219, ranked by callers