Created
October 3, 2017 14:27
-
-
Save ryanrhymes/d573ef8c575a6d0e8835582692cf9f93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#require "owl_opencl";; | |
let x0 = Dense.Ndarray.S.uniform [|5;5|];; | |
let x1 = Dense.Ndarray.S.uniform [|5;5|];; | |
let x2 = Dense.Ndarray.S.uniform [|5;5|];; | |
let x3 = Owl_opencl_dense.(add (Arr x0) (Arr x1));; | |
let x4 = Owl_opencl_dense.(add x3 (Arr x2));; | |
Owl_opencl_dense.eval x4;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment