File size: 229 Bytes
24c58ea
725af76
 
24c58ea
 
 
 
725af76
24c58ea
 
 
 
725af76
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;
}