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
"description": "Parameters for truncating a distribution to a specified range. Truncation should\nbe applied after sampling and scaling.\n\nUsed to constrain sampled values within minimum and maximum bounds.",
5000
+
"description": "Parameters for truncating a distribution to a specified range. Truncation should\nbe applied after sampling and scaling.\n\nThe truncation_mode determines how out-of-bounds values are handled:\n- \"exclude\": Resample until a value within [min, max] is obtained.\nIf after a certain number of attempts no valid value is found, it\nwill use the average of sampled values and pick the closest bound.\n- \"clamp\": Clamp values to the nearest bound within [min, max].\nUsed to constrain sampled values within minimum and maximum bounds.",
5001
5001
"properties": {
5002
+
"truncation_mode": {
5003
+
"default": "exclude",
5004
+
"description": "Mode of truncation to apply",
5005
+
"enum": [
5006
+
"exclude",
5007
+
"clamp"
5008
+
],
5009
+
"title": "Truncation Mode",
5010
+
"type": "string"
5011
+
},
5002
5012
"min": {
5003
5013
"default": 0,
5004
5014
"description": "Minimum value of the sampled distribution",
0 commit comments