Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KareemYousrii/SPL
/ functions
Functions
1,219 in github.com/KareemYousrii/SPL
⨍
Functions
1,219
◇
Types & classes
137
↳
Endpoints
4
Method
forward
(self, x)
grids/grid_net.py:43
Method
forward
(self, x)
grids/sushi_net.py:37
Method
forward
(self, x)
grids/GatingFunction.py:55
Method
forward
(ctx, input, other)
grids/pypsdd/pypsdd/sdd.py:45
Method
forward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:398
Method
forward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:438
Method
forward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:482
Method
forward_pass
(self, input, true_shortest_paths, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:529
Method
from_bitset
new (complete) Inst from bitstring
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:270
Method
from_bitset
new (complete) Inst from bitstring
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:270
Method
from_bitset
new (complete) Inst from bitstring
grids/pypsdd/sdd/data.py:270
Method
from_bitset
new (complete) Inst from bitstring
grids/pypsdd/pypsdd/data.py:270
Method
from_dict
new (possibly incomplete) Inst from dictionary.
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:262
Method
from_dict
new (possibly incomplete) Inst from dictionary.
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:262
Method
from_dict
new (possibly incomplete) Inst from dictionary.
grids/pypsdd/sdd/data.py:262
Method
from_dict
new (possibly incomplete) Inst from dictionary.
grids/pypsdd/pypsdd/data.py:262
Method
from_list
new (possibly incomplete) Inst from list.
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:253
Method
from_list
new (possibly incomplete) Inst from list.
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:253
Method
from_list
new (possibly incomplete) Inst from list.
grids/pypsdd/sdd/data.py:253
Method
from_list
new (possibly incomplete) Inst from list.
grids/pypsdd/pypsdd/data.py:253
Method
from_literal
new Inst from literal
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:280
Method
from_literal
(cls,lit,weight=0.0)
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:431
Method
from_literal
new Inst from literal
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:280
Method
from_literal
(cls,lit,weight=0.0)
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:431
Method
from_literal
new Inst from literal
grids/pypsdd/sdd/data.py:280
Method
from_literal
(cls,lit,weight=0.0)
grids/pypsdd/sdd/data.py:431
Method
from_literal
new Inst from literal
grids/pypsdd/pypsdd/data.py:280
Method
from_literal
(cls,lit,weight=0.0)
grids/pypsdd/pypsdd/data.py:431
Method
generate_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
Method
generate_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
Method
generate_torch_ac_stable
(self, litleaves)
C-HMCNN/hmc-utils/compute_mpe.py:98
Method
generate_torch_ac_stable
(self, litleaves)
grids/compute_mpe.py:78
Method
get_batch
(self, size)
grids/sushi_data.py:57
Method
get_batch
(self, size)
grids/grid_data.py:55
Function
get_caller_file
(depth=2)
WarcraftShortestPath/utils.py:220
Function
get_data_and_loaders
(dataset_name, batch_size, device)
C-HMCNN/common.py:113
Method
get_marginals
(self)
C-HMCNN/hmc-utils/compute_mpe.py:83
Method
get_models
(self)
C-HMCNN/hmc-utils/compute_mpe.py:126
Method
get_models
(self)
grids/compute_mpe.py:106
Function
get_neighbors
(i,j)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:25
Method
get_norm_ac
(self, litleaves)
grids/compute_mpe.py:69
Method
get_sample
(self, batch_size)
C-HMCNN/hmc-utils/compute_mpe.py:78
Function
get_sample_generator
(samples, hyperparam_dict, distribution_list, extra_settings=None)
WarcraftShortestPath/utils.py:277
Method
get_torch_ac
(self, litleaves)
grids/compute_mpe.py:75
Function
get_trainer
(trainer_name)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:21
Method
get_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
Method
get_weighted_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
grids/pypsdd/pypsdd/sdd.py:561
Function
grid_to_im_coordinate
(grid_x, grid_y, grid_x_max, grid_y_max, im_width, im_height)
WarcraftShortestPath/utils.py:154
Method
gumbel_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
Method
gumbel_sampling
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:1385
Method
hard_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
Method
hard_sampling
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:1351
Method
height
Returns the height of the vtree
C-HMCNN/hmc-utils/pypsdd/sdd/vtree.py:89
Method
height
Returns the height of the vtree
C-HMCNN/hmc-utils/pypsdd/pypsdd/vtree.py:89
Method
height
Returns the height of the vtree
grids/pypsdd/sdd/vtree.py:89
Method
height
Returns the height of the vtree
grids/pypsdd/pypsdd/vtree.py:89
Method
induce_sub_circuit
(inst,node)
C-HMCNN/hmc-utils/pypsdd/sdd/psdd.py:453
Method
induce_sub_circuit
(inst,node)
C-HMCNN/hmc-utils/pypsdd/pypsdd/psdd.py:453
Method
induce_sub_circuit
(inst,node)
grids/pypsdd/sdd/psdd.py:453
Method
induce_sub_circuit
(inst,node)
grids/pypsdd/pypsdd/psdd.py:453
Function
initialize_dataset
(name, datasets)
cutils/parser.py:83
Function
initialize_other_dataset
(name, datasets)
cutils/parser.py:87
Method
initialize_psdd
Initialize the parameters of a PSDD.
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:64
Method
initialize_psdd
Initialize the parameters of a PSDD.
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:64
Method
initialize_psdd
Initialize the parameters of a PSDD.
grids/pypsdd/sdd/prior.py:64
Method
initialize_psdd
Initialize the parameters of a PSDD.
grids/pypsdd/pypsdd/prior.py:64
Method
instances
generates all instantiations over var_count variables
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:88
Method
instances
generates all instantiations over var_count variables
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:88
Method
instances
generates all instantiations over var_count variables
grids/pypsdd/sdd/data.py:88
Method
instances
generates all instantiations over var_count variables
grids/pypsdd/pypsdd/data.py:88
Method
is_compatible
Returns true if inst is compatible with lit, and false otherwise
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:412
Method
is_compatible
Returns true if inst is compatible with lit, and false otherwise
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:412
Method
is_compatible
Returns true if inst is compatible with lit, and false otherwise
grids/pypsdd/sdd/data.py:412
Method
is_compatible
Returns true if inst is compatible with lit, and false otherwise
grids/pypsdd/pypsdd/data.py:412
Method
is_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
Method
is_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
Function
is_valid_label_fn
(suggested_path)
WarcraftShortestPath/warcraft_shortest_path/metrics.py:41
Method
iterator
()
WarcraftShortestPath/utils.py:124
Method
last_node
Returns the right-most leaf node in the vtree
C-HMCNN/hmc-utils/pypsdd/sdd/vtree.py:82
Method
last_node
Returns the right-most leaf node in the vtree
C-HMCNN/hmc-utils/pypsdd/pypsdd/vtree.py:82
Method
last_node
Returns the right-most leaf node in the vtree
grids/pypsdd/sdd/vtree.py:82
Method
last_node
Returns the right-most leaf node in the vtree
grids/pypsdd/pypsdd/vtree.py:82
Method
ll_bak
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:829
Function
load_dataset
(data_dir, use_test_set, evaluate_with_extra, normalize, use_local_path)
WarcraftShortestPath/warcraft_shortest_path/data_utils.py:10
Function
load_pickle
(path)
WarcraftShortestPath/utils.py:85
Function
load_pngs
(path)
WarcraftShortestPath/utils.py:90
Function
log1mexp
(x)
C-HMCNN/train.py:30
Function
log1mexp
(x)
C-HMCNN/test.py:29
Method
log_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
Method
log_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
Method
log_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
Method
log_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
Method
log_prior
Computes log Pr(theta)
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:85
Method
log_prior
Computes log Pr(theta)
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:85
Method
log_prior
Computes log Pr(theta)
grids/pypsdd/sdd/prior.py:85
Method
log_prior
Computes log Pr(theta)
grids/pypsdd/pypsdd/prior.py:85
Method
minimum_cardinality
AC: NEED TO TEST
C-HMCNN/hmc-utils/pypsdd/sdd/sdd.py:308
Method
minimum_cardinality
AC: NEED TO TEST
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:453
Method
minimum_cardinality
AC: NEED TO TEST
grids/pypsdd/sdd/sdd.py:308
Method
minimum_cardinality
AC: NEED TO TEST
grids/pypsdd/pypsdd/sdd.py:453
← previous
next →
1,001–1,100 of 1,219, ranked by callers