File tree 3 files changed +26
-6
lines changed
3 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 1
- (load-shared-object " libtensorflow.so" )
2
-
3
- ; ;TF_CAPI_EXPORT extern const char* TF_Version();
4
- (define TF_Version
5
- (foreign-procedure " TF_Version" ()
6
- string))
1
+ (import (tensorflow tensorflow))
7
2
8
3
(define (main )
9
4
(printf " Hello from TensorFlow C library version ~a\n " (TF_Version)))
Original file line number Diff line number Diff line change
1
+ ((" name" . " tensorflow" )
2
+ (" version" . " 0.0.1" )
3
+ (" description" . " Scheme language bindings for TensorFlow" )
4
+ (" keywords" )
5
+ (" author"
6
+ (" quenchi" " chclock" ))
7
+ (" license" . " MIT" )
8
+ (" homepage" . " https://github.com/guenchi/tensorflow" )
9
+ (" private" . # t)
10
+ (" scripts"
11
+ (" run" . " scheme --script" ))
12
+ (" dependencies" )
13
+ (" devDependencies" ))
Original file line number Diff line number Diff line change
1
+ (library (tensorflow tensorflow)
2
+ (export
3
+ TF_Version )
4
+ (import (scheme ))
5
+
6
+ (define init (load- shared- object " libtensorflow.so" ))
7
+
8
+ ;;TF_CAPI_EXPORT extern const char* TF_Version ();
9
+ (define TF_Version
10
+ (foreign- procedure " TF_Version" ()
11
+ string))
12
+ )
You can’t perform that action at this time.
0 commit comments