rustorch 0.6.13

Production-ready PyTorch-compatible deep learning library in Rust with special mathematical functions (gamma, Bessel, error functions), statistical distributions, Fourier transforms (FFT/RFFT), matrix decomposition (SVD/QR/LU/eigenvalue), automatic differentiation, neural networks, computer vision transforms, complete GPU acceleration (CUDA/Metal/OpenCL), SIMD optimizations, parallel processing, WebAssembly browser support, comprehensive distributed learning support, and performance validation
Documentation
#!/bin/bash

# Binder post-build script for RusTorch
# RusTorch用Binderポストビルドスクリプト

set -e

echo "🔧 Building RusTorch for Binder..."
echo "🔧 Binder用RusTorchをビルド中..."

# Ensure we're in the right directory
cd $HOME

# Build RusTorch Python bindings (CPU-only for Binder)
echo "📦 Building Python bindings..."
echo "📦 Pythonバインディングをビルド中..."
maturin develop --release

# Verify installation
echo "🧪 Testing installation..."
echo "🧪 インストールをテスト中..."
python3 -c "
try:
    import rustorch
    print('✅ RusTorch imported successfully!')
    print('✅ RusTorchのインポートに成功しました!')
except ImportError as e:
    print(f'❌ Import failed: {e}')
    print('❌ インポートに失敗しました')
    exit(1)
"

# Enable Jupyter Lab extensions
echo "🎨 Enabling Jupyter Lab extensions..."
echo "🎨 Jupyter Lab拡張機能を有効化中..."
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build || true
jupyter lab build --minimize=False || true

echo "✅ Binder setup complete!"
echo "✅ Binderセットアップ完了!"