All Projects → data-efficient-ml → ThArrays.jl

data-efficient-ml / ThArrays.jl

Licence: MIT license
A Julia interface for PyTorch's C++ backend, focusing on Tensor, AD, and JIT

Programming Languages

julia
2034 projects
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to ThArrays.jl

Php Opencv
php wrapper for opencv
Stars: ✭ 194 (+743.48%)
Mutual labels:  torch
Visdial
[CVPR 2017] Torch code for Visual Dialog
Stars: ✭ 215 (+834.78%)
Mutual labels:  torch
Pixeldtgan
A torch implementation of "Pixel-Level Domain Transfer"
Stars: ✭ 248 (+978.26%)
Mutual labels:  torch
Torchinfo
View model summaries in PyTorch!
Stars: ✭ 203 (+782.61%)
Mutual labels:  torch
Opennmt
Open Source Neural Machine Translation in Torch (deprecated)
Stars: ✭ 2,339 (+10069.57%)
Mutual labels:  torch
Echotorch
A Python toolkit for Reservoir Computing and Echo State Network experimentation based on pyTorch. EchoTorch is the only Python module available to easily create Deep Reservoir Computing models.
Stars: ✭ 231 (+904.35%)
Mutual labels:  torch
Yolo Face With Landmark
yoloface大礼包 使用pytroch实现的基于yolov3的轻量级人脸检测(包含关键点)
Stars: ✭ 180 (+682.61%)
Mutual labels:  torch
graftr
graftr: an interactive shell to view and edit PyTorch checkpoints.
Stars: ✭ 89 (+286.96%)
Mutual labels:  torch
Torch
R Interface to Torch
Stars: ✭ 214 (+830.43%)
Mutual labels:  torch
Floorplantransformation
Raster-to-Vector: Revisiting Floorplan Transformation
Stars: ✭ 243 (+956.52%)
Mutual labels:  torch
Pytorch Beam Search Decoding
PyTorch implementation of beam search decoding for seq2seq models
Stars: ✭ 204 (+786.96%)
Mutual labels:  torch
Orn
Oriented Response Networks, in CVPR 2017
Stars: ✭ 207 (+800%)
Mutual labels:  torch
Alphaction
Spatio-Temporal Action Localization System
Stars: ✭ 221 (+860.87%)
Mutual labels:  torch
Python Torchfile
Deserialize Lua torch-serialized objects from Python
Stars: ✭ 196 (+752.17%)
Mutual labels:  torch
Artificial Intelligence Deep Learning Machine Learning Tutorials
A comprehensive list of Deep Learning / Artificial Intelligence and Machine Learning tutorials - rapidly expanding into areas of AI/Deep Learning / Machine Vision / NLP and industry specific areas such as Climate / Energy, Automotives, Retail, Pharma, Medicine, Healthcare, Policy, Ethics and more.
Stars: ✭ 2,966 (+12795.65%)
Mutual labels:  torch
Online Neural Doodle
Feedforward neural doodle
Stars: ✭ 183 (+695.65%)
Mutual labels:  torch
Torchdata
PyTorch dataset extended with map, cache etc. (tensorflow.data like)
Stars: ✭ 226 (+882.61%)
Mutual labels:  torch
lantern
[Android Library] Handling device flash as torch for Android.
Stars: ✭ 81 (+252.17%)
Mutual labels:  torch
multiclass-semantic-segmentation
Experiments with UNET/FPN models and cityscapes/kitti datasets [Pytorch]
Stars: ✭ 96 (+317.39%)
Mutual labels:  torch
Gpt2 Newstitle
Chinese NewsTitle Generation Project by GPT2.带有超级详细注释的中文GPT2新闻标题生成项目。
Stars: ✭ 235 (+921.74%)
Mutual labels:  torch

ThArrays

A Julia interface for PyTorch's C++ backend.

Unit Testing

Features

  • ThArrays.Tensor: PyTorch Tensor as an Array-like data type in Julia
  • ThArrays.ThAD: AD using PyTorch C++ backend
  • ThArrays.TrackerAD: AD using Tracker.jl and PyTorch C++ backend mixed, on your choice
  • ThArrays.ThJIT: using TorchScript in Julia

Getting Started

  1. Install the package: ] add ThArrays

  2. Read the docs here, or

  3. Experiment in the Julia REPL directly:

     julia> using ThArrays
    
     julia> t = Tensor( -rand(3, 3) )
     PyTorch.Tensor{Float64, 2}:
     -0.1428 -0.7099 -0.1446
     -0.3447 -0.0686 -0.8287
     -0.2692 -0.0501 -0.2092
     [ CPUDoubleType{3,3} ]
    
     julia> sin(t)^2 + cos(t)^2
     PyTorch.Tensor{Float64, 2}:
      1.0000  1.0000  1.0000
      1.0000  1.0000  1.0000
      1.0000  1.0000  1.0000
     [ CPUDoubleType{3,3} ]
    
     julia> ThAD.gradient(x->sum(sin(x)+x^2), rand(3,3))
     (PyTorch.Tensor{Float64, 2}:
      2.3776  1.5465  2.0206
      1.2542  1.2081  2.1156
      2.1034  1.1568  2.2599
     [ CPUDoubleType{3,3} ]
     ,)
    
     julia>
    

    You can find more examples under the test directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].