1- # RedisDL
1+ # RedisAI
22
33A Redis module for serving tensors and executing deep learning graphs.
44Expect changes in the API and internals.
@@ -29,18 +29,18 @@ python tf-minimal.py
2929
3030On the client, load the graph
3131```
32- ./deps/redis/src/redis-cli -x DL .SET GRAPH foo TF < graph.pb
32+ ./deps/redis/src/redis-cli -x AI .SET GRAPH foo TF < graph.pb
3333```
3434
3535Then create the input tensors, run the computation graph and get the output tensor (see ` load_model.sh ` ). Note the signatures:
36- * ` DL .SET TENSOR tensor_key data_type ndims dim1..dimN [BLOB data | VALUES val1..valN]`
37- * ` DL .RUN GRAPH graph_key ninputs input_key input_name_in_graph ... output_key output_name_in_graph ...`
36+ * ` AI .SET TENSOR tensor_key data_type ndims dim1..dimN [BLOB data | VALUES val1..valN]`
37+ * ` AI .RUN GRAPH graph_key ninputs input_key input_name_in_graph ... output_key output_name_in_graph ...`
3838```
3939redis-cli
40- > DL .SET TENSOR bar FLOAT 1 2 VALUES 2 3
41- > DL .SET TENSOR baz FLOAT 1 2 VALUES 2 3
42- > DL .RUN GRAPH foo 2 bar a baz b jez c
43- > DL .GET TENSOR jez VALUES
40+ > AI .SET TENSOR bar FLOAT 1 2 VALUES 2 3
41+ > AI .SET TENSOR baz FLOAT 1 2 VALUES 2 3
42+ > AI .RUN GRAPH foo 2 bar a baz b jez c
43+ > AI .GET TENSOR jez VALUES
44441) FLOAT
45452) (integer) 1
46463) 1) (integer) 2
@@ -49,19 +49,19 @@ redis-cli
4949 2) "3"
5050```
5151
52- ### DL .SET TENSOR tensor_key data_type dim shape1..shapeN [ BLOB data | VALUES val1..valN]
52+ ### AI .SET TENSOR tensor_key data_type dim shape1..shapeN [ BLOB data | VALUES val1..valN]
5353Stores a tensor of defined type (FLOAT, DOUBLE, INT8, INT16, INT32, INT64, UINT8, UINT16) with N dimensions (dim) and shape given by shape1..shapeN
5454
55- ### DL .SET GRAPH graph_key backend graph_blob prefix
55+ ### AI .SET GRAPH graph_key backend graph_blob prefix
5656Stores a graph provided as a protobuf blob. Backend is TF for now.
5757
58- ### DL .GET TENSOR tensor_key [ BLOB | VALUES | META]
58+ ### AI .GET TENSOR tensor_key [ BLOB | VALUES | META]
5959
60- ### DL .RUN GRAPH graph_key ninputs input_key input_name_in_graph ... output_key output_name_in_graph ...
60+ ### AI .RUN GRAPH graph_key ninputs input_key input_name_in_graph ... output_key output_name_in_graph ...
6161
6262
6363## License
6464
6565AGPL-3.0 https://opensource.org/licenses/AGPL-3.0
6666
67- Copyright 2018, Luca Antiga, Orobix Srl ( www.orobix.com ).
67+ Copyright 2018, Orobix Srl & Redis Labs
0 commit comments