File size: 229 Bytes
d742a8e
8c57b4a
 
d742a8e
 
 
 
8c57b4a
d742a8e
 
 
 
8c57b4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@0xbf5147e1a2a3a3b1;

interface Agent {
  ping @0 (message :Text) -> (response :Text);
  act  @1 (obs :Tensor) -> (action :Tensor);
  reset @2 ();
}

struct Tensor {
  data  @0 :Data;
  shape @1 :List(Int32);
  dtype @2 :Text;
}