compiled-knowledge 4.0.0a21__cp312-cp312-macosx_11_0_arm64.whl → 4.0.0a22__cp312-cp312-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of compiled-knowledge might be problematic. Click here for more details.
- ck/circuit/_circuit_cy.c +1 -1
- ck/circuit/_circuit_cy.cpython-312-darwin.so +0 -0
- ck/circuit_compiler/cython_vm_compiler/_compiler.c +152 -152
- ck/circuit_compiler/cython_vm_compiler/_compiler.cpython-312-darwin.so +0 -0
- ck/circuit_compiler/interpret_compiler.py +1 -0
- ck/circuit_compiler/llvm_compiler.py +4 -4
- ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.c +1 -1
- ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.cpython-312-darwin.so +0 -0
- ck/pgm.py +1 -1
- ck/pgm_circuit/mpe_program.py +2 -2
- ck/pgm_circuit/support/compile_circuit.py +4 -7
- ck/pgm_compiler/named_pgm_compilers.py +0 -3
- ck/pgm_compiler/support/circuit_table/_circuit_table_cy.c +1 -1
- ck/pgm_compiler/support/circuit_table/_circuit_table_cy.cpython-312-darwin.so +0 -0
- ck/pgm_compiler/support/clusters.py +8 -4
- ck/program/raw_program.py +1 -2
- ck/utils/np_extras.py +5 -5
- {compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/METADATA +1 -1
- {compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/RECORD +22 -22
- {compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/WHEEL +0 -0
- {compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/licenses/LICENSE.txt +0 -0
- {compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
@@ -139,6 +139,7 @@ def _make_instructions(
|
|
|
139
139
|
for node_id, const_idx in node_to_const_idx.items():
|
|
140
140
|
node_to_element[node_id] = _ElementID(_CONSTS, const_idx)
|
|
141
141
|
# var nodes
|
|
142
|
+
var_node: VarNode
|
|
142
143
|
for i, var_node in enumerate(analysis.var_nodes):
|
|
143
144
|
if var_node.is_const():
|
|
144
145
|
node_to_element[id(var_node)] = node_to_element[id(var_node.const)]
|
|
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from dataclasses import dataclass
|
|
4
4
|
from enum import Enum
|
|
5
|
-
from typing import Sequence, Optional, Tuple, Dict, Protocol
|
|
5
|
+
from typing import Sequence, Optional, Tuple, Dict, Protocol, assert_never
|
|
6
6
|
|
|
7
7
|
import llvmlite.binding as llvm
|
|
8
8
|
import llvmlite.ir as ir
|
|
@@ -238,7 +238,7 @@ class _FunctionBuilderTmps(_FunctionBuilder):
|
|
|
238
238
|
if idx is not None:
|
|
239
239
|
return builder.load(builder.gep(self.out_args, [ir.Constant(self.llvm_idx_type, idx)]))
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
assert_never('not reached')
|
|
242
242
|
|
|
243
243
|
def store_calculation(self, value: ir.Value, op_node: OpNode) -> None:
|
|
244
244
|
"""
|
|
@@ -262,7 +262,7 @@ class _FunctionBuilderTmps(_FunctionBuilder):
|
|
|
262
262
|
builder.store(value, ptr)
|
|
263
263
|
return
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
assert_never('not reached')
|
|
266
266
|
|
|
267
267
|
def store_result(self, value: ir.Value, idx: int) -> None:
|
|
268
268
|
"""
|
|
@@ -359,7 +359,7 @@ class _FunctionBuilderStack(_FunctionBuilder):
|
|
|
359
359
|
if idx is not None:
|
|
360
360
|
return builder.load(builder.gep(self.out_args, [ir.Constant(self.llvm_idx_type, idx)]))
|
|
361
361
|
|
|
362
|
-
|
|
362
|
+
assert_never('not reached')
|
|
363
363
|
|
|
364
364
|
def store_calculation(self, value: ir.Value, op_node: OpNode) -> None:
|
|
365
365
|
"""
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"-O3"
|
|
16
16
|
],
|
|
17
17
|
"include_dirs": [
|
|
18
|
-
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/build-env-
|
|
18
|
+
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/build-env-8d_gezt7/lib/python3.12/site-packages/numpy/_core/include"
|
|
19
19
|
],
|
|
20
20
|
"name": "ck.circuit_compiler.support.circuit_analyser._circuit_analyser_cy",
|
|
21
21
|
"sources": [
|
|
Binary file
|
ck/pgm.py
CHANGED
|
@@ -2935,7 +2935,7 @@ class CPTPotentialFunction(PotentialFunction):
|
|
|
2935
2935
|
return True
|
|
2936
2936
|
else:
|
|
2937
2937
|
# The requested tolerance is tighter than ensured.
|
|
2938
|
-
# Need to use the default method
|
|
2938
|
+
# Need to use the default method.
|
|
2939
2939
|
return super().is_cpt(tolerance)
|
|
2940
2940
|
|
|
2941
2941
|
@property
|
ck/pgm_circuit/mpe_program.py
CHANGED
|
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from dataclasses import dataclass
|
|
4
4
|
from functools import partial
|
|
5
|
-
from typing import Sequence, Optional, Tuple, List, Dict, Set
|
|
5
|
+
from typing import Sequence, Optional, Tuple, List, Dict, Set, assert_never
|
|
6
6
|
|
|
7
7
|
from ck.circuit import CircuitNode, Circuit, VarNode, OpNode, ADD, MUL
|
|
8
8
|
from ck.circuit_compiler import llvm_vm_compiler, CircuitCompiler
|
|
@@ -207,7 +207,7 @@ class MPEProgram(ProgramWithSlotmap):
|
|
|
207
207
|
self._trace_var(child, states)
|
|
208
208
|
return
|
|
209
209
|
# No child value equaled the value for node! We should never get here
|
|
210
|
-
|
|
210
|
+
assert_never('not reached')
|
|
211
211
|
elif node.symbol == MUL:
|
|
212
212
|
# Recurse though each child node
|
|
213
213
|
for child in node.args:
|
|
@@ -2,7 +2,6 @@ from typing import Optional, Sequence
|
|
|
2
2
|
|
|
3
3
|
from ck.circuit import CircuitNode, TmpConst, Circuit
|
|
4
4
|
from ck.circuit_compiler import CircuitCompiler
|
|
5
|
-
from ck.circuit_compiler.llvm_compiler import DataType, DEFAULT_TYPE_INFO, compile_circuit
|
|
6
5
|
from ck.circuit_compiler import DEFAULT_CIRCUIT_COMPILER
|
|
7
6
|
from ck.pgm_circuit import PGMCircuit
|
|
8
7
|
from ck.program import RawProgram
|
|
@@ -48,7 +47,7 @@ def compile_param_derivatives(
|
|
|
48
47
|
pgm_circuit: PGMCircuit,
|
|
49
48
|
self_multiply: bool = False,
|
|
50
49
|
params_value: Optional[float | int] = 1,
|
|
51
|
-
|
|
50
|
+
compiler: CircuitCompiler = DEFAULT_CIRCUIT_COMPILER,
|
|
52
51
|
) -> RawProgram:
|
|
53
52
|
"""
|
|
54
53
|
Compile the circuit to a program for computing the partial derivatives of the parameters.
|
|
@@ -56,14 +55,12 @@ def compile_param_derivatives(
|
|
|
56
55
|
|
|
57
56
|
Typically, this will grow the circuit by the addition of circuit nodes to compute the derivatives.
|
|
58
57
|
|
|
59
|
-
This uses the LLVM circuit compiler.
|
|
60
|
-
|
|
61
58
|
Args:
|
|
62
59
|
pgm_circuit: The circuit (and PGM) that will be compiled to a program.
|
|
63
60
|
self_multiply: if true then each partial derivative df/dx will be multiplied by x.
|
|
64
61
|
params_value: if not None, then circuit vars representing parameters will be temporarily
|
|
65
62
|
set to this value for compiling the program. Default is 1.
|
|
66
|
-
|
|
63
|
+
compiler: function from circuit nodes to raw program.
|
|
67
64
|
"""
|
|
68
65
|
top: CircuitNode = pgm_circuit.circuit_top
|
|
69
66
|
circuit: Circuit = top.circuit
|
|
@@ -76,8 +73,8 @@ def compile_param_derivatives(
|
|
|
76
73
|
if params_value is not None:
|
|
77
74
|
with TmpConst(circuit) as tmp:
|
|
78
75
|
tmp.set_const(param_vars, params_value)
|
|
79
|
-
raw_program: RawProgram =
|
|
76
|
+
raw_program: RawProgram = compiler(*derivatives, circuit=circuit)
|
|
80
77
|
else:
|
|
81
|
-
raw_program: RawProgram =
|
|
78
|
+
raw_program: RawProgram = compiler(*derivatives, circuit=circuit)
|
|
82
79
|
|
|
83
80
|
return raw_program
|
|
@@ -16,7 +16,6 @@ class NamedPGMCompiler(Enum):
|
|
|
16
16
|
Wrapping in a tuple is needed otherwise Python erases the type of the member, which can cause problems.
|
|
17
17
|
Each member itself is callable, confirming to the PGMCompiler protocol, delegating to the compiler function.
|
|
18
18
|
"""
|
|
19
|
-
# @formatter:off
|
|
20
19
|
|
|
21
20
|
VE_MIN_DEGREE = _get_compiler_algorithm(variable_elimination, 'MIN_DEGREE')
|
|
22
21
|
VE_MIN_DEGREE_THEN_FILL = _get_compiler_algorithm(variable_elimination, 'MIN_DEGREE_THEN_FILL')
|
|
@@ -45,8 +44,6 @@ class NamedPGMCompiler(Enum):
|
|
|
45
44
|
|
|
46
45
|
ACE = _get_compiler(ace)
|
|
47
46
|
|
|
48
|
-
# @formatter:on
|
|
49
|
-
|
|
50
47
|
def __call__(self, pgm: PGM, const_parameters: bool = True) -> PGMCircuit:
|
|
51
48
|
"""
|
|
52
49
|
Each member of the enum is a PGMCompiler function.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"-O3"
|
|
16
16
|
],
|
|
17
17
|
"include_dirs": [
|
|
18
|
-
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/build-env-
|
|
18
|
+
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/build-env-8d_gezt7/lib/python3.12/site-packages/numpy/_core/include"
|
|
19
19
|
],
|
|
20
20
|
"name": "ck.pgm_compiler.support.circuit_table._circuit_table_cy",
|
|
21
21
|
"sources": [
|
|
Binary file
|
|
@@ -295,7 +295,7 @@ class Clusters:
|
|
|
295
295
|
Returns:
|
|
296
296
|
the maximum `len(cluster)` over all clusters.
|
|
297
297
|
"""
|
|
298
|
-
return max(len(cluster) for cluster in self.clusters)
|
|
298
|
+
return max((len(cluster) for cluster in self.clusters), default=0)
|
|
299
299
|
|
|
300
300
|
def max_cluster_weighted_size(self, rv_log_sizes: Sequence[float]) -> float:
|
|
301
301
|
"""
|
|
@@ -303,13 +303,17 @@ class Clusters:
|
|
|
303
303
|
|
|
304
304
|
Args:
|
|
305
305
|
rv_log_sizes: is an array of random variable sizes, such that
|
|
306
|
-
for a random variable `rv`, `rv_log_sizes[rv.idx] = log2(len(rv))
|
|
306
|
+
for a random variable `rv`, `rv_log_sizes[rv.idx] = log2(len(rv))`,
|
|
307
|
+
e.g., `self.pgm.rv_log_sizes`.
|
|
307
308
|
Returns:
|
|
308
309
|
the maximum `sum(rv_log_sizes[rv_idx] for rv_idx in cluster)` over all clusters.
|
|
309
310
|
"""
|
|
310
311
|
return max(
|
|
311
|
-
|
|
312
|
-
|
|
312
|
+
(
|
|
313
|
+
sum(rv_log_sizes[rv_idx] for rv_idx in cluster)
|
|
314
|
+
for cluster in self.clusters
|
|
315
|
+
),
|
|
316
|
+
default=0
|
|
313
317
|
)
|
|
314
318
|
|
|
315
319
|
def eliminate(self, rv_index: int) -> None:
|
ck/program/raw_program.py
CHANGED
|
@@ -23,14 +23,13 @@ class RawProgram:
|
|
|
23
23
|
|
|
24
24
|
A `RawProgram` is a `Callable` with the signature:
|
|
25
25
|
|
|
26
|
-
|
|
27
26
|
Fields:
|
|
28
27
|
function: is a function of three ctypes arrays, returning nothing.
|
|
29
28
|
dtype: the numpy data type of the array values.
|
|
30
29
|
number_of_vars: the number of input values (first function argument).
|
|
31
30
|
number_of_tmps: the number of working memory values (second function argument).
|
|
32
31
|
number_of_results: the number of result values (third function argument).
|
|
33
|
-
var_indices:
|
|
32
|
+
var_indices: maps the index of inputs (from 0 to self.number_of_vars - 1) to the index
|
|
34
33
|
of the corresponding circuit var.
|
|
35
34
|
"""
|
|
36
35
|
|
ck/utils/np_extras.py
CHANGED
|
@@ -29,17 +29,17 @@ NDArrayNumeric = NDArray[DTypeNumeric]
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
# Constants for maximum number of states.
|
|
32
|
-
_MAX_STATES_8: int = 2 ** 8
|
|
33
|
-
_MAX_STATES_16: int = 2 ** 16
|
|
34
|
-
_MAX_STATES_32: int = 2 ** 32
|
|
35
|
-
_MAX_STATES_64: int = 2 ** 64
|
|
32
|
+
_MAX_STATES_8: int = 2 ** 8
|
|
33
|
+
_MAX_STATES_16: int = 2 ** 16
|
|
34
|
+
_MAX_STATES_32: int = 2 ** 32
|
|
35
|
+
_MAX_STATES_64: int = 2 ** 64
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def dtype_for_number_of_states(number_of_states: int) -> DTypeStates:
|
|
39
39
|
"""
|
|
40
40
|
Infer the numpy dtype required to store any state index of the given PGM.
|
|
41
41
|
"""
|
|
42
|
-
# Infer the needed
|
|
42
|
+
# Infer the needed dtype required to hold a number of states
|
|
43
43
|
if number_of_states <= _MAX_STATES_8:
|
|
44
44
|
return np.uint8
|
|
45
45
|
if number_of_states <= _MAX_STATES_16:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: compiled-knowledge
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.0a22
|
|
4
4
|
Summary: A Python package for compiling and querying discrete probabilistic graphical models.
|
|
5
5
|
Author-email: Barry Drake <barry@compiledknowledge.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -48,23 +48,23 @@ ck_demos/pgm_inference/demo_inferencing_wmc_student.py,sha256=R2dajAh4-bb9YFWhQr
|
|
|
48
48
|
ck_demos/pgm_inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
ck_demos/pgm_inference/demo_inferencing_mpe_cancer.py,sha256=hS9U2kyqjFgJ8jnVBtT3Tk6qCTkuknNiTlImMejV_6A,1554
|
|
50
50
|
ck_demos/pgm_inference/demo_inferencing_wmc_and_mpe_sprinkler.py,sha256=-q4Z1Fzf7-BuwVFTFXdGRY-zUNrY-SAU7ooaov2o_lM,5128
|
|
51
|
-
compiled_knowledge-4.0.
|
|
52
|
-
compiled_knowledge-4.0.
|
|
53
|
-
compiled_knowledge-4.0.
|
|
54
|
-
compiled_knowledge-4.0.
|
|
55
|
-
compiled_knowledge-4.0.
|
|
56
|
-
ck/pgm.py,sha256=
|
|
51
|
+
compiled_knowledge-4.0.0a22.dist-info/RECORD,,
|
|
52
|
+
compiled_knowledge-4.0.0a22.dist-info/WHEEL,sha256=V1loQ6TpxABu1APUg0MoTRBOzSKT5xVc3skizX-ovCU,136
|
|
53
|
+
compiled_knowledge-4.0.0a22.dist-info/top_level.txt,sha256=Cf8DAfd2vcnLiA7HlxoduOzV0Q-8surE3kzX8P9qdks,12
|
|
54
|
+
compiled_knowledge-4.0.0a22.dist-info/METADATA,sha256=SBeD1euhwu4b1MT7eVLdrS9F3eEkOiCemxxTwthgkWc,1788
|
|
55
|
+
compiled_knowledge-4.0.0a22.dist-info/licenses/LICENSE.txt,sha256=-LmkmqXKYojmS3zDxXAeTbsA82fnHA0KaRvpfIoEdjA,1068
|
|
56
|
+
ck/pgm.py,sha256=T7ZXWEgn93uh8mf-FxOgkPY8RgabBCUg2lpKoQmhGMU,117226
|
|
57
57
|
ck/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
58
|
ck/pgm_circuit/target_marginals_program.py,sha256=qWz9FkAFzt8YHLZJzPkpRnvDH76BXm-dcEWhoqCkrOw,3665
|
|
59
59
|
ck/pgm_circuit/slot_map.py,sha256=pqN0t5ElmUjR7SzvzldQwnO-jjRIz1rNZHH1PzE-V88,822
|
|
60
|
-
ck/pgm_circuit/mpe_program.py,sha256=
|
|
60
|
+
ck/pgm_circuit/mpe_program.py,sha256=haYfD7pw9nP7biqNfmWRS3LkbvZcJfDNe5rZpkWMQoA,10008
|
|
61
61
|
ck/pgm_circuit/program_with_slotmap.py,sha256=HQNxLTYdxb1noAjyzvX3LknI9vT2RPk5UmYF__fn9Jg,8723
|
|
62
62
|
ck/pgm_circuit/__init__.py,sha256=FctIFEYdL1pwxFMMEEu5Rwgq3kjPar-vJTqAmgIqb-I,36
|
|
63
63
|
ck/pgm_circuit/marginals_program.py,sha256=E-L-4Rc2YLs3ndXIfXpTxUYGEFJG1_BkaZVDBs9gcgQ,14434
|
|
64
64
|
ck/pgm_circuit/wmc_program.py,sha256=Btq7jUot-PodWXrgDFaE6zhUtr6GPUNF217CVLTaB70,12376
|
|
65
65
|
ck/pgm_circuit/pgm_circuit.py,sha256=VBgHk7uDNYiElesEQxdmlU2iRn0bfHYWik2Cb6t838g,3208
|
|
66
66
|
ck/pgm_circuit/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
67
|
-
ck/pgm_circuit/support/compile_circuit.py,sha256=
|
|
67
|
+
ck/pgm_circuit/support/compile_circuit.py,sha256=56KsI01Ww3gSHnqoTt81kzdHgbFTmHwVeB3jEajipHs,3179
|
|
68
68
|
ck/probability/probability_space.py,sha256=gjH8la8ZGegWTYetpY16XdbwqEniqy-CiqoDFWRLzkM,25260
|
|
69
69
|
ck/probability/pgm_probability_space.py,sha256=o-IVo-PfM-Qu1BZ8xatpFhmaa7SZztnck569FHSdTNo,1002
|
|
70
70
|
ck/probability/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -100,13 +100,13 @@ ck/example/sprinkler.py,sha256=t8RIiPorf3QXYyTXbxFkSrK1SsG5ALWmTfTsFUq2C_c,938
|
|
|
100
100
|
ck/example/diamond_square.py,sha256=HqGqmInYTpAsCBuz3s8FuhT2Jnc11L3wGCTgJDmFLjw,2722
|
|
101
101
|
ck/example/rain.py,sha256=kLTU_9f_-_yy0ymPnS9-cbFVT6fYyCanDgszk3vQOgc,1187
|
|
102
102
|
ck/example/cancer.py,sha256=-FnLbfb9yxriLl97N5BDZ0VrDZ5UnOWlT-Ep_tzO6QI,1698
|
|
103
|
-
ck/circuit/_circuit_cy.c,sha256=
|
|
103
|
+
ck/circuit/_circuit_cy.c,sha256=q3PGZPxqinSb59a1oLG7vTCwlbkZ1fOz8Wj7oZkgGaI,1704940
|
|
104
104
|
ck/circuit/_circuit_cy.pyx,sha256=PloIztVKt8Fj_2DlATqjm8ZcZar6ozCkLazEYsH4dHE,27005
|
|
105
105
|
ck/circuit/__init__.py,sha256=B1jwDE_Xb6hOQE8DecjaTVotOnDxJaT7jsvPfGDXqCU,401
|
|
106
106
|
ck/circuit/_circuit_cy.pxd,sha256=ZcW8xjw4oGQqD5gwz73GXc1H8NxpdAswFWzc2CUWWcA,1025
|
|
107
107
|
ck/circuit/_circuit_py.py,sha256=4pPHnkXFczk-ea2OeBSc_bLppMyprDkeeQMwp4MCrVo,27505
|
|
108
108
|
ck/circuit/tmp_const.py,sha256=wgi4P3xrTRLPXNMmWYpYaJWlm-lekQOdxg4rkXZC3Wk,2298
|
|
109
|
-
ck/circuit/_circuit_cy.cpython-312-darwin.so,sha256=
|
|
109
|
+
ck/circuit/_circuit_cy.cpython-312-darwin.so,sha256=u_tDmy8x35RUDePbmz4zNKH0zopS3CQlPKuXQWqaZd4,335344
|
|
110
110
|
ck/sampling/wmc_metropolis_sampler.py,sha256=jfXb-MG0jAoMyepgq9zel2amqK-gmYrCtKuxJStl8VY,6305
|
|
111
111
|
ck/sampling/wmc_direct_sampler.py,sha256=Pkv-u4GjN3npBrcQ92raoTrEIel1vpiDoE8LrlcfYJE,7094
|
|
112
112
|
ck/sampling/sampler_support.py,sha256=SQytIhr3qlIcNjYu9cF7sAxhjiXFLlCwPlsMIOJVH1c,9510
|
|
@@ -122,49 +122,49 @@ ck/utils/map_set.py,sha256=T5E3j4Lz08vg8eviRBc-4F10xz1-CKIg6KiHVoGhdts,3681
|
|
|
122
122
|
ck/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
123
123
|
ck/utils/tmp_dir.py,sha256=Emln4TIyO-cFrhgcpoH10awakJoRgoDCVgwFKmt1-So,2574
|
|
124
124
|
ck/utils/iter_extras.py,sha256=9BQpCKltbM_hcMIPFfJhqvWSvY2Mz3vzXdoSbfezR5k,4316
|
|
125
|
-
ck/utils/np_extras.py,sha256=
|
|
125
|
+
ck/utils/np_extras.py,sha256=3wqIJ8Lc4CCpcKmzDiIOtzslW_IFw9HYUC2QaYYN-mM,1701
|
|
126
126
|
ck/utils/local_config.py,sha256=RsP1QwIINw3F7KFVeJEML0Zul3Pm4YEkadVENfqHE6I,9265
|
|
127
127
|
ck/utils/map_list.py,sha256=0UkTDg-ZlWkuxiM-1OhaUYh5MRgMz0rAppDtE2RryEY,3719
|
|
128
128
|
ck/pgm_compiler/__init__.py,sha256=Ga0dTOetOovHwNN4WS-o4fyyh7255xL0bUTdK29p2LY,110
|
|
129
129
|
ck/pgm_compiler/recursive_conditioning.py,sha256=vdDSrMO1yPQHNlLQha5ybg3a7l1SiygsmniI_pQhU-Q,7705
|
|
130
|
-
ck/pgm_compiler/named_pgm_compilers.py,sha256=
|
|
130
|
+
ck/pgm_compiler/named_pgm_compilers.py,sha256=TIgr2aqNYTzwlNqQJ3wgWDiW0gLplU24tpKgmWR7XuE,3316
|
|
131
131
|
ck/pgm_compiler/pgm_compiler.py,sha256=VRGxWcnXgyXd1Twusw8tm1Yqv1VFPmb2LBsOu4UZv8k,597
|
|
132
132
|
ck/pgm_compiler/factor_elimination.py,sha256=A6pwSJZ3tBNXqrYcp8WXNn86nbwTkOiAzlx6STcqqqI,13412
|
|
133
133
|
ck/pgm_compiler/variable_elimination.py,sha256=R3dV9Mbw8u2rf7wJ2upGiy1QKjc65gFAOEYCDaD3sZ8,3456
|
|
134
134
|
ck/pgm_compiler/support/join_tree.py,sha256=_rNmjp2OjP6aa-IBr4sMwOSnY0tZC1zleHdql4bhn1Q,12562
|
|
135
135
|
ck/pgm_compiler/support/factor_tables.py,sha256=0EKJC0YU8h9J8oFpd6JSjDDooNCaNmIwiQQs7ovrGWY,15150
|
|
136
|
-
ck/pgm_compiler/support/clusters.py,sha256=
|
|
136
|
+
ck/pgm_compiler/support/clusters.py,sha256=r1Z8b4IvXMfY5xeyg5AHoU3TxUI0yNDvh3Xkvj8FDF8,20932
|
|
137
137
|
ck/pgm_compiler/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
138
138
|
ck/pgm_compiler/support/named_compiler_maker.py,sha256=Qz8a9gwY46Q3dtRCZEZ2czq5z52QroGVKN5UDcoXI3c,1377
|
|
139
139
|
ck/pgm_compiler/support/circuit_table/__init__.py,sha256=1kWjAZR5Rj6PYNdbCEbuyE2VtIDQU4Qf-3HPFzBlezs,562
|
|
140
140
|
ck/pgm_compiler/support/circuit_table/_circuit_table_cy.pyx,sha256=Fsjw8P9clKQioqlLyr1JirUK5oYkeotpDMy5sMo7Khk,11683
|
|
141
141
|
ck/pgm_compiler/support/circuit_table/_circuit_table_py.py,sha256=OZJC-JGX3ovCSv7nJtNYq7735KZ2eb4TQOlZdZbhPmk,10983
|
|
142
|
-
ck/pgm_compiler/support/circuit_table/_circuit_table_cy.c,sha256=
|
|
143
|
-
ck/pgm_compiler/support/circuit_table/_circuit_table_cy.cpython-312-darwin.so,sha256=
|
|
142
|
+
ck/pgm_compiler/support/circuit_table/_circuit_table_cy.c,sha256=QeAXx4qgQ8_xnkKarf84qZZiZ9ORsu6UGxhziZY0K3A,714044
|
|
143
|
+
ck/pgm_compiler/support/circuit_table/_circuit_table_cy.cpython-312-darwin.so,sha256=bikTlfuRSrPYs1SNACe3d7oEddo9ZVGN6VEevsqSHhw,165096
|
|
144
144
|
ck/pgm_compiler/ace/ace.py,sha256=An83dHxE_gQFcEs6H5qgm0PlNFnJSGGuvLJNC2H3hGU,10098
|
|
145
145
|
ck/pgm_compiler/ace/__init__.py,sha256=5HWep-yL1Mr6z5VWEaIYpLumCdeso85J-l_-hQaVusM,96
|
|
146
|
-
ck/program/raw_program.py,sha256=
|
|
146
|
+
ck/program/raw_program.py,sha256=FtPzy1s20fb8bWqjTgw2ZaSHknZT5EDuO88O9zVePMs,2557
|
|
147
147
|
ck/program/program_buffer.py,sha256=IHwAHTKIaUlhcbNFTuSxPWKyExIsOxxX6ffUn4KfheU,5485
|
|
148
148
|
ck/program/__init__.py,sha256=Rifdxk-l6cCjXLpwc6Q0pVXNDsllAwaFlRqRx3cURho,107
|
|
149
149
|
ck/program/program.py,sha256=ohsnE0CEy8O4q8uGB_YEjoJKAPhY1Mz_a08Z7fy7TLw,4047
|
|
150
|
-
ck/circuit_compiler/llvm_compiler.py,sha256=
|
|
150
|
+
ck/circuit_compiler/llvm_compiler.py,sha256=SFhfrthrDuAYUjH_DYRD7FBU8eg2db5T4QGBGfoewnw,13635
|
|
151
151
|
ck/circuit_compiler/circuit_compiler.py,sha256=bb-SG8xrcp4y2nCNB0GIWcgOufEsR2Nb52qtrLMHTVs,992
|
|
152
152
|
ck/circuit_compiler/__init__.py,sha256=eRN6chBEt64PK5e6EFGyBNZBn6BXhXb6R3m12zPA1Qg,130
|
|
153
153
|
ck/circuit_compiler/named_circuit_compilers.py,sha256=paKyG876tdG_bdSHJU6KW5HxQrutmV_T80GPpz8A65s,2227
|
|
154
|
-
ck/circuit_compiler/interpret_compiler.py,sha256=
|
|
154
|
+
ck/circuit_compiler/interpret_compiler.py,sha256=3MylFp3MoJTNVbVfba4qES7WCVu2UYJ1_vBgO-F0EAE,7149
|
|
155
155
|
ck/circuit_compiler/llvm_vm_compiler.py,sha256=-yZ2dPP8eOy0l5x-cVB-v2qpS7gWod2gXg1h44l0HPA,21327
|
|
156
156
|
ck/circuit_compiler/cython_vm_compiler/cython_vm_compiler.py,sha256=mG7yweTxhl_Ez8sDQ9l032A5P3L7ojvAwp7V4vGhjJM,3945
|
|
157
157
|
ck/circuit_compiler/cython_vm_compiler/__init__.py,sha256=ks0sISOJ-XHIHgHnESyFsheNWvcSJQkbsrj1wVlnzTE,48
|
|
158
158
|
ck/circuit_compiler/cython_vm_compiler/_compiler.pyx,sha256=uSyNMRd5h0yetA-vi6uA-8O6m_0hfU9w3PxKgM4RAl4,12845
|
|
159
|
-
ck/circuit_compiler/cython_vm_compiler/_compiler.cpython-312-darwin.so,sha256=
|
|
160
|
-
ck/circuit_compiler/cython_vm_compiler/_compiler.c,sha256=
|
|
159
|
+
ck/circuit_compiler/cython_vm_compiler/_compiler.cpython-312-darwin.so,sha256=mgXHNZBaYWW6HSeIbxcdTxBe7hVTmRVq2dQiwbUgYHU,163488
|
|
160
|
+
ck/circuit_compiler/cython_vm_compiler/_compiler.c,sha256=BA4BeR8fE5CGgJiZPYWTDZK2QbKZ5WvI0Mz0vwXgmeg,857013
|
|
161
161
|
ck/circuit_compiler/support/llvm_ir_function.py,sha256=MolcEsjoZvD__r6MvaThrjworzidgIigEG9TiyTTUdI,7545
|
|
162
162
|
ck/circuit_compiler/support/input_vars.py,sha256=EZrvyhD9XVtf5GuDBluFNWhAOVixP7-_ETxAHLTpBcs,4664
|
|
163
163
|
ck/circuit_compiler/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
164
164
|
ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.pyx,sha256=a0fKmkwRNscJmy6qoO2AOqJYmHYptrQmkRSrDg3G-wg,3233
|
|
165
165
|
ck/circuit_compiler/support/circuit_analyser/__init__.py,sha256=WhNwfg7GHVeI4k_m7owPGWxX0MyZg_wtcp2MA07qbWg,523
|
|
166
|
-
ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.cpython-312-darwin.so,sha256=
|
|
167
|
-
ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.c,sha256=
|
|
166
|
+
ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.cpython-312-darwin.so,sha256=z4eMgb_hYHkt4mbCMH4-boGDITdXgc9vdvvv-ftfUDw,104936
|
|
167
|
+
ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.c,sha256=2PtgIVnDZBxqOtZOsNjWZA8-ZJudE79qbvuAdbiMCpk,438223
|
|
168
168
|
ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_py.py,sha256=CMdXV6Rot5CCoK1UsurQdGK0UOx_09B6V7mCc_6-gfI,2993
|
|
169
169
|
ck/in_out/render_net.py,sha256=VePvN6aYWuzEkW-Hv-qGT9QneOvsnrBMmS_KYueuj2I,4970
|
|
170
170
|
ck/in_out/render_bugs.py,sha256=c39KbaD4gEiauFsZq2KUhDEEa-3cuY5kuvz97pEWVpw,3272
|
|
File without changes
|
{compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/licenses/LICENSE.txt
RENAMED
|
File without changes
|
{compiled_knowledge-4.0.0a21.dist-info → compiled_knowledge-4.0.0a22.dist-info}/top_level.txt
RENAMED
|
File without changes
|