neuralfn-python-sdk

Community

Build and train NeuralFn graphs with Python.

Authoradamdroberts
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a concise, code-first way to construct, validate, execute, and train neuron graphs using the neuralfn Python package so developers can avoid low-level boilerplate, inconsistent graph wiring, and error-prone serialization when building custom neural architectures.

Core Features & Use Cases

  • Programmatic Graph Construction: Create NeuronDef instances, NeuronInstance placements, and Edge connections to define arbitrary directed neuron graphs.
  • Multi-runtime Training & Execution: Support for scalar (function) execution, Torch module nodes, surrogate/evolutionary/hybrid training workflows, and PyTorch-backed TorchTrainer flows for large models.
  • Serialization & Variant Libraries: Save/load graphs, round-trip to dict, resolve variant libraries, and export/import module state for checkpointing and deployment.
  • Use Case: Quickly prototype a small neural graph for XOR with surrogate training, or assemble a GPT-style root graph using the provided presets and train via the Torch runtime.

Quick Start

Create a NeuronGraph with input, sigmoid, and output nodes, execute it with sample scalar inputs, then save the graph to a JSON file.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: neuralfn-python-sdk
Download link: https://github.com/adamdroberts/NeuralFn/archive/main.zip#neuralfn-python-sdk

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.