Toolverse
All skills

swift-mlx

by ml-explore

MLX Swift - High-performance ML framework for Apple Silicon with lazy evaluation, automatic differentiation, and unified memory

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Mobile

About this skill

MLX Swift - High-performance ML framework for Apple Silicon with lazy evaluation, automatic differentiation, and unified memory

How to use

  1. Zaimportuj MLX do swojego projektu Swift, dodając import MLX na początku pliku. 2. Utwórz tablice MLXArray za pomocą konstruktorów: MLXArray([1, 2, 3, 4]) dla danych, MLXArray.zeros([2, 3]) dla zer, MLXArray.ones([4, 4], dtype: .float32) dla jedynek, lub MLXRandom.uniform(0.0 ..< 1.0, [3, 3]) dla wartości losowych. 3. Wykonuj operacje na tablicach korzystając z modułu Ops.swift — framework obsługuje standardowe operacje matematyczne i transformacje. 4. Buduj sieci neuronowe za pomocą warstw z MLXNN — definiuj moduły, warstwy i funkcje straty dla swojej architektury. 5. Trenuj modele z automatycznym różniczkowaniem — użyj transformacji z Transforms.swift do obliczania gradientów i optymalizatorów z MLXOptimizers do aktualizacji wag. 6. Optymalizuj wydajność poprzez JIT compilation i niestandardowe jądra Metal dostępne w MLXFast.swift dla krytycznych operacji.

Related skills

react-native-architecture

by wshobson

Build production React Native apps with Expo, navigation, native modules, offline sync, and cross-platform patterns. Use when developing mobile apps, implementing native integrations, or architecting React Native projects.

Mobile
3978

flutter-expert

by sickn33

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or

Mobile
54112

mobile-design

by sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or

Mobile
6091

sequential-thinking

by mrgoonie

Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope.

Mobile
60238

liquid-glass-developer

by anyproto

Context-aware routing to iOS 26 Liquid Glass implementation patterns. Use when working with glass effects, GlassEffectContainer, morphing transitions, or iOS 26 visual effects.

Mobile
2061

android-kotlin-development

by aj-geddes

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.

Mobile
152396