Coder Social home page Coder Social logo

liuguoyou / gradient-halide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jrk/gradient-halide

0.0 2.0 0.0 231.01 MB

License: Other

CMake 1.18% Makefile 1.62% Shell 0.54% C++ 86.69% Java 1.14% C 4.28% MATLAB 0.05% Objective-C 0.01% Objective-C++ 0.17% Python 2.86% LLVM 1.40% Ruby 0.05% Smarty 0.01%

gradient-halide's Introduction

This is an experimental branch of Halide (http://halide-lang.org) for making it able to compute gradients.

For a technical description see our paper, "Differentiable Programming for Image Processing and Deep Learning in Halide".

For build instruction see the original repository (https://github.com/halide/Halide).

If you haven't used Halide before, it's probably a good idea to go through the tutorials first.

For examples on how to use the gradient extensions see the tests in test/correctness/autodiff.cpp, a simple polynomial function fitting example in test/correctness/fit_function.cpp, and a more involved lens optimization application in apps/derivatives/lens.cpp.

For the implementation see src/Derivative.h, src/Derivative.cpp, src/DerivativeUtils.h, src/DerivativeUtils.cpp.

We also implemented a new autoscheduler which takes a set of output Halide functions and automatically schedules all the dependencies. See src/SimpleAutoSchedule.h and the tests in src/SimpleAutoSchedule.cpp.

A proper tutorial and the source code for applications demonstrated in the paper will come soon.

If you have any questions, issues, bug report, feel free to open a Github issue or email Tzu-Mao Li ([email protected]).

gradient-halide's People

Contributors

abadams avatar steven-johnson avatar dsharletg avatar jrk avatar psuriana avatar pranavb-ca avatar kree-colemcalughlin avatar rodrigob avatar aam avatar abestephensg avatar dsharlet-intel avatar bachili avatar connellybarnes avatar aankit-ca avatar vksnk avatar ronen avatar mgharbi avatar matthiaskramm avatar kgnk avatar jingpu avatar tdenniston avatar nickchornay avatar shoaibkamil avatar bondhugula avatar fcr avatar jrprice avatar kernhanda avatar alinas avatar estollnitz avatar darkbuck avatar

Watchers

刘国友 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.