Metadata-Version: 2.1
Name: npu
Version: 0.1.10
Summary: Python client for using npu api
Home-page: UNKNOWN
Author: Neuro AI
Author-email: api@neuro-ai.co.uk
License: UNKNOWN
Description: # NPU Python Client Package
        
        To install, run:
        
        `pip install npu`
        
        To use in code:
        
        `import npu` 
        
        
        This library has four core functions. `npu.api, npu.compile, npu.train, npu.predict` Here is an example script of them in use. 
        
        ```
        import npu
        from npu.vision.models import resnet18
        from npu.vision.datasets import CIFAR10
        
        
        npu.api(API_KEY)
        
        model = npu.train(resnet18(pretrained=True),
                                 train_data=CIFAR10.train,
                                 val_data=CIFAR10.val,
                                 loss=npu.loss.CrossEntropyLoss,
                                 optim=npu.optim.SGD(lr=0.01),
                                 batch_size=128,
                                 epochs=2)
        
        output = npu.predict(model, data)
        
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
