Check the model’s tau_mem and dt values. If tau_mem is very small relative to dt, alpha = exp(-dt/tau_mem) approaches 0 and the compiler should have raised E0101. If you see E0005 at runtime, the artifact may be from an older compiler build that did not validate this.
Recompile with the current thrindex version: thx.compile(model, "model.thx").
E0005: invalid LIF parameter in layer 1: alpha=0.0Why: alpha must be in (0, 1); value 0.0 would produce a trivial neuron.Fix: set tau_mem > dt when constructing the LIF layer.Docs: https://docs.thrindex.com/errors/E0005
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"THRINDEX","colors":{"primary":"#141414","light":"#F3EDE3","dark":"#141414"},"logo":{"light":"https://mintcdn.com/thrindex/nWoDI3LZj_glURWp/logo/light.svg?fit=max\u0026auto=format\u0026n=nWoDI3LZj_glURWp\u0026q=85\u0026s=8b51dedbf540fe33b33aa3ad7e20c9bc","dark":"https://mintcdn.com/thrindex/nWoDI3LZj_glURWp/logo/dark.svg?fit=max\u0026auto=format\u0026n=nWoDI3LZj_glURWp\u0026q=85\u0026s=ab780a7fe7cd939e256df1c2f7b179f1"},"favicon":{"light":"https://mintcdn.com/thrindex/_3WEORBs02LJ1E_Z/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=_3WEORBs02LJ1E_Z\u0026q=85\u0026s=777846aa3d6ab8ad355f1e6efb8b920f","dark":"https://mintcdn.com/thrindex/_3WEORBs02LJ1E_Z/logo/logo-light.png?fit=max\u0026auto=format\u0026n=_3WEORBs02LJ1E_Z\u0026q=85\u0026s=7c95be70791d21b345dcb5eaf35dfee3"},"navbar":{"links":[{"href":"https://github.com/thrindex/thrindex","label":"GitHub"}],"primary":{"type":"button","label":"Get started","href":"/getting-started/installation"}},"footer":{"socials":{"github":"https://github.com/thrindex"}},"contextual":{"options":["copy","view","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thrindex/thrindex"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thrindex","hasAudioNarration":false,"actualSubdomain":"thrindex","customDomains":["docs.thrindex.com"],"gitSource":{"type":"github","owner":"thrindex","repo":"thrindex-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"704674ac-3c0a-45e0-8d86-bb0cfee88e36","liveDeploymentHistoryId":"6acba37fc5b4294a03497fd8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acba37fc5b4294a03497fd8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6acba37fc5b4294a03497fd8","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Docs","count":60},{"language":"default","tag":"Errors","count":33},{"language":"default","tag":"Learn","count":11},{"language":"default","tag":"Systems","count":6},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Foundations","count":5},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Benchmarks","count":3},{"language":"default","tag":"Conformance","count":3},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"errors/E0005","slug":"/errors/E0005","pageMetadata":{"title":"E0005 — InvalidLifParam","description":"A LIF layer in the artifact has a parameter value outside the valid range.","href":"/errors/E0005"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"A LIF layer in the artifact has a parameter value outside the valid range.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:`E0005: invalid LIF parameter`}),`\n`,_jsx(Heading,{level:`2`,id:`what-happened`,children:`What happened`}),`\n`,_jsxs(_components.p,{children:[`A LIF layer in the artifact has a parameter (`,_jsx(_components.code,{children:`alpha`}),`, `,_jsx(_components.code,{children:`threshold`}),`, or `,_jsx(_components.code,{children:`beta`}),`) with a value that the simulator cannot use.`]}),`\n`,_jsx(Heading,{level:`2`,id:`why`,children:`Why`}),`\n`,_jsx(_components.p,{children:`Common causes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`alpha`}),` is not in `,_jsx(_components.code,{children:`(0, 1)`}),` — this means the leak factor is non-physical (exponential amplification or no decay)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`threshold`}),` is ≤ 0 — a non-positive threshold fires immediately or never`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`beta`}),` is not in `,_jsx(_components.code,{children:`(0, 1)`}),` — same issue as `,_jsx(_components.code,{children:`alpha`}),` for the synaptic filter`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-fix`,children:`How to fix`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Check the model’s `,_jsx(_components.code,{children:`tau_mem`}),` and `,_jsx(_components.code,{children:`dt`}),` values. If `,_jsx(_components.code,{children:`tau_mem`}),` is very small relative to `,_jsx(_components.code,{children:`dt`}),`, `,_jsx(_components.code,{children:`alpha = exp(-dt/tau_mem)`}),` approaches 0 and the compiler should have raised `,_jsx(_components.a,{href:`/errors/E0101`,children:`E0101`}),`. If you see E0005 at runtime, the artifact may be from an older compiler build that did not validate this.`]}),`\n`,_jsxs(_components.li,{children:[`Recompile with the current thrindex version: `,_jsx(_components.code,{children:`thx.compile(model, \"model.thx\")`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`E0005: invalid LIF parameter in layer 1: alpha=0.0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Why: alpha must be in (0, 1); value 0.0 would produce a trivial neuron.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Fix: set tau_mem > dt when constructing the LIF layer.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Docs: https://docs.thrindex.com/errors/E0005`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/errors/E0101`,children:`E0101`}),` — the compiler-time check for `,_jsx(_components.code,{children:`tau_mem ≤ dt`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"E0005 — InvalidLifParam","description":"A LIF layer in the artifact has a parameter value outside the valid range.","href":"/errors/E0005"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What happened","slug":"what-happened","depth":2,"children":[]},{"title":"Why","slug":"why","depth":2,"children":[]},{"title":"How to fix","slug":"how-to-fix","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"thrindex","siteName":"THRINDEX","title":"E0005 — InvalidLifParam - THRINDEX","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-10T15:02:13.529Z","originalFileLocation":"errors/E0005.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"A LIF layer in the artifact has a parameter value outside the valid range.\">\u003cmeta data-mint-head name=\"application-name\" content=\"THRINDEX\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"E0005 — InvalidLifParam - THRINDEX\">\u003cmeta data-mint-head property=\"og:description\" content=\"A LIF layer in the artifact has a parameter value outside the valid range.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"THRINDEX\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thrindex.com/errors/E0005\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thrindex.mintlify.app/_mintlify/api/og/v2?division=Errors\u0026amp;title=E0005+%E2%80%94+InvalidLifParam\u0026amp;description=A+LIF+layer+in+the+artifact+has+a+parameter+value+outside+the+valid+range.\u0026amp;theme=c6dd07c042452870ae175db9\u0026amp;signature=0959ae6e32b6d10162e1804b117b400435f0414816b0153d8e9db6a0894a07dc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"E0005 — InvalidLifParam - THRINDEX\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A LIF layer in the artifact has a parameter value outside the valid range.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thrindex.mintlify.app/_mintlify/api/og/v2?division=Errors\u0026amp;title=E0005+%E2%80%94+InvalidLifParam\u0026amp;description=A+LIF+layer+in+the+artifact+has+a+parameter+value+outside+the+valid+range.\u0026amp;theme=c6dd07c042452870ae175db9\u0026amp;signature=0959ae6e32b6d10162e1804b117b400435f0414816b0153d8e9db6a0894a07dc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"THRINDEX\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141414\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thrindex.com/errors/E0005\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/errors/E0005.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thrindex.com/#organization\",\"name\":\"THRINDEX\",\"url\":\"https://docs.thrindex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thrindex/nWoDI3LZj_glURWp/logo/light.svg?fit=max\u0026auto=format\u0026n=nWoDI3LZj_glURWp\u0026q=85\u0026s=8b51dedbf540fe33b33aa3ad7e20c9bc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thrindex.com#website\",\"name\":\"THRINDEX\",\"url\":\"https://docs.thrindex.com\",\"publisher\":{\"@id\":\"https://docs.thrindex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thrindex.com/errors/E0005#webpage\",\"url\":\"https://docs.thrindex.com/errors/E0005\",\"name\":\"E0005 — InvalidLifParam\",\"description\":\"A LIF layer in the artifact has a parameter value outside the valid range.\",\"dateModified\":\"2026-07-10T15:02:13.529Z\",\"isPartOf\":{\"@id\":\"https://docs.thrindex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thrindex.com/errors/E0005#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thrindex.com/errors/E0005#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Errors\",\"item\":\"https://docs.thrindex.com/errors/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"E0005 — InvalidLifParam\",\"item\":\"https://docs.thrindex.com/errors/E0005\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.thrindex.com/errors/E0005#article\",\"headline\":\"E0005 — InvalidLifParam\",\"name\":\"E0005 — InvalidLifParam\",\"description\":\"A LIF layer in the artifact has a parameter value outside the valid range.\",\"url\":\"https://docs.thrindex.com/errors/E0005\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thrindex.com/errors/E0005#webpage\"},\"dateModified\":\"2026-07-10T15:02:13.529Z\",\"publisher\":{\"@id\":\"https://docs.thrindex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thrindex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"THRINDEX\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"THRINDEX","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thrindex/thrindex"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Getting Started","pages":[{"title":"Installation","href":"/getting-started/installation"},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Your First Model","href":"/getting-started/first-model"}]},{"group":"Tutorials","pages":[{"title":"Keyword Spotting on SHD","href":"/tutorials/keyword-spotting"},{"title":"Event-Camera Vision","href":"/tutorials/event-camera"},{"title":"Anomaly Detection","href":"/tutorials/anomaly-detection"}]},{"group":"Concepts","pages":[{"title":"Compilation","href":"/concepts/compilation"},{"title":"Conformance","href":"/concepts/conformance"},{"title":"Synaptic Delays","href":"/concepts/delays"},{"title":"The .thx Artifact Format","href":"/concepts/artifact-format"}]},{"group":"Systems","pages":[{"title":"Built for systems where physics decides the stack","href":"/systems/overview"},{"title":"Hardware Targets","href":"/systems/hardware-targets"},{"title":"Robotics","href":"/systems/robotics"},{"title":"Drones \u0026 UAVs","href":"/systems/drones-uavs"},{"title":"Aerospace \u0026 Space","href":"/systems/aerospace-space"},{"title":"Defense","href":"/systems/defense"}]},{"group":"API Reference","pages":[{"title":"Python SDK","href":"/api/python-sdk"},{"title":"thrindex.snn","href":"/api/thrindex-snn"},{"title":"thrindex.encoders","href":"/api/thrindex-encoders"},{"title":"thrindex.train","href":"/api/thrindex-train"},{"title":"CLI Reference","href":"/api/cli"}]},{"group":"Errors","pages":[{"title":"Error Reference","href":"/errors/index"},{"title":"E0001 — ArtifactNotFound","href":"/errors/E0001"},{"title":"E0002 — UnsupportedFormatVersion","href":"/errors/E0002"},{"title":"E0003 — UnknownLayerType","href":"/errors/E0003"},{"title":"E0004 — DimensionMismatch (sim)","description":"Two consecutive layers in the artifact have incompatible input/output dimensions.","href":"/errors/E0004"},{"title":"E0005 — InvalidLifParam","href":"/errors/E0005"},{"title":"E0006 — Base64DecodeError","description":"The weight data in the artifact could not be base64-decoded.","href":"/errors/E0006"},{"title":"E0007 — WeightShapeMismatch","href":"/errors/E0007"},{"title":"E0008 — JsonParseError","href":"/errors/E0008"},{"title":"E0009 — IntegrityCheckFailed","href":"/errors/E0009"},{"title":"E0010 — InputDimensionMismatch","href":"/errors/E0010"},{"title":"E0101 — TauMemTooSmall","href":"/errors/E0101"},{"title":"E0102 — RetimingDelayNotInteger","href":"/errors/E0102"},{"title":"E0103 — DelayExceedsTargetMax","href":"/errors/E0103"},{"title":"E0104 — NoNativeDelaySupport","href":"/errors/E0104"},{"title":"E0105 — EmptyModel","href":"/errors/E0105"},{"title":"E0106 — DimensionMismatch (compiler)","href":"/errors/E0106"},{"title":"E0107 — InvalidResetMode","href":"/errors/E0107"},{"title":"E0108 — IrJsonParseError","href":"/errors/E0108"},{"title":"E0109 — DelayLengthMismatch","href":"/errors/E0109"},{"title":"E0201 — ArtifactParse (backend)","href":"/errors/E0201"},{"title":"E0202 — InputShapeMismatch (backend)","href":"/errors/E0202"},{"title":"E0203 — OutputShapeMismatch (backend)","href":"/errors/E0203"},{"title":"E0204 — Execution (backend)","href":"/errors/E0204"},{"title":"E0205 — TestSetTooSmall","href":"/errors/E0205"},{"title":"E0206 — OutputShapeMismatch (harness)","href":"/errors/E0206"},{"title":"E0207 — BackendExecution (harness)","href":"/errors/E0207"},{"title":"E0208 — ReferenceError","href":"/errors/E0208"},{"title":"E0401 — LifNotSupported","href":"/errors/E0401"},{"title":"E0402 — DelaysNotSupported","href":"/errors/E0402"},{"title":"E0403 — NonFiniteWeights","href":"/errors/E0403"},{"title":"E0404 — WrongTarget","href":"/errors/E0404"},{"title":"E0407 — TemporalInputNotSupported","href":"/errors/E0407"}]},{"group":"Benchmarks","pages":[{"title":"MNIST","href":"/benchmarks/mnist"},{"title":"Spiking Heidelberg Digits","href":"/benchmarks/spiking-heidelberg-digits"},{"title":"Energy \u0026 Latency","href":"/benchmarks/energy"}]},{"group":"Conformance","pages":[{"title":"Conformance Overview","href":"/conformance/overview"},{"title":"Conformance Envelope V0","href":"/conformance/envelope-v0"},{"title":"Adding a Backend","href":"/conformance/adding-a-backend"}]}]},{"tab":"Learn","pages":[{"title":"Learn","href":"/learn/spiking-neural-networks"}]}]},"title":"E0005 — InvalidLifParam - THRINDEX","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":[],"chunks":[]}