You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/syft-restrict/src/syft_restrict/catalog/flax/0.12/catalog.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
-
"_about": "Risk rules for flax 0.12.x. 'unsafe' = disk/network/host-callback; 'safe' = vetted surface, whose note flags any residual risk to review in combination (kept deliberately vague). Cross-library rules in _common/default are merged in on top of these. This is advisory, not a proof.",
3
-
"safe": {
4
-
"flax.linen.Module": "Flax module base class — required to define a model; not a channel itself. Residual module-state risk (not host I/O) is widened by allow_base_class_attributes=True; keep that flag False to require explicit assignment."
2
+
"_about": "Risk rules for flax 0.12.x. 'unsafe' = disk/network/host-callback; 'dual_use' = useful surface that is mostly safe but can be abused in combination (the category itself is the caution, so notes stay terse and vague); 'safe' = genuinely inert. Cross-library rules in _common/default are merged in on top of these. This is advisory, not a proof.",
3
+
"dual_use": {
4
+
"flax.linen.Module": "Flax module base class; required to define a model. Keep allow_base_class_attributes=False to require explicit assignment."
5
5
},
6
6
"unsafe": {
7
7
"flax.serialization.*": "Serializes model state to bytes / disk.",
Copy file name to clipboardExpand all lines: packages/syft-restrict/src/syft_restrict/catalog/jax/0.11/catalog.json
+23-21Lines changed: 23 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,30 @@
1
1
{
2
-
"_about": "Risk rules for jax 0.11.x. 'unsafe' = disk/network/host-callback; 'safe' = vetted pure-compute, whose note flags any residual output-channel risk to review in combination (kept deliberately vague). Cross-library rules in _common/default are merged in on top of these. This is advisory, not a proof.",
2
+
"_about": "Risk rules for jax 0.11.x. 'unsafe' = disk/network/host-callback; 'dual_use' = useful op that is mostly safe but can be abused in combination (the category itself is the caution, so notes stay terse and vague); 'safe' = genuinely inert (constants, masks, module refs). Cross-library rules in _common/default are merged in on top of these. This is advisory, not a proof.",
3
+
"dual_use": {
4
+
"jax.lax.rsqrt": "Reciprocal square root.",
5
+
"jax.nn.gelu": "GELU activation.",
6
+
"jax.nn.softmax": "Softmax activation; required for attention.",
7
+
"jax.numpy.array": "Materializes input into an array.",
8
+
"jax.numpy.bool_": "Cast to boolean.",
9
+
"jax.numpy.concatenate": "Joins arrays along an axis.",
10
+
"jax.numpy.cos": "Element-wise cosine.",
11
+
"jax.numpy.einsum": "Einstein-summation contraction; required for attention and projections.",
12
+
"jax.numpy.float32": "Cast to float32.",
13
+
"jax.numpy.mean": "Reduction to a mean.",
14
+
"jax.numpy.repeat": "Repeats elements along an axis.",
"jax.lax": "Module reference, present so deep-path calls (jax.lax.rsqrt) resolve. Does NOT permit calling other jax.lax members (exact-path match, not a glob).",
5
-
"jax.lax.rsqrt": "Reciprocal square root. Pure; some residual output-channel risk — review in combination.",
6
22
"jax.nn": "Module reference, present so deep-path calls (jax.nn.softmax / gelu) resolve. Does NOT permit calling other jax.nn members.",
"jax.numpy.einsum": "Einstein-summation contraction. Pure math, required for attention and projections; very expressive, so it carries the most residual output-channel risk — bound output entropy at the enclave and review in combination.",
15
-
"jax.numpy.float32": "Cast to float32. Pure; residual output-channel risk only.",
16
-
"jax.numpy.mean": "Reduction to a mean. Pure; residual risk via the returned value only.",
0 commit comments