summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Add_STR_001/test.recipe
blob: b3310650c59e92a9682bc1b1b0c6739c08dede1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This is test for import/export of STRING tensortype
# interpreter or runtime may fail as Add won't support this

operand {
  name: "ifm"
  type: STRING
  shape { }
}
operand {
  name: "suffix"
  type: STRING
  shape { dim: 2 }
  filler {
    tag: "explicit"
    arg: "Hello"
    arg: "World"
  }
}
operand {
  name: "ofm"
  type: STRING
  shape { }
}
operation {
  type: "Add"
  input: "ifm"
  input: "suffix"
  output: "ofm"
  add_options {
    activation: NONE
  }
}
input: "ifm"
output: "ofm"