summaryrefslogtreecommitdiff
path: root/res/TensorFlowTests/UNIT_BiasAdd_001/test.pbtxt
blob: 6b543084d03b45d4e69282d85feea26f79f32b2d (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
node {
  name: "val"
  op: "Const"
  attr {
    key: "dtype"
    value { type: DT_FLOAT }
  }
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim { size: 1 }
          dim { size: 3 }
          dim { size: 4 }
          dim { size: 4 }
        }
        float_val: 2.1
      }
    }
  }
}
node {
  name: "bias"
  op: "Const"
  attr {
    key: "dtype"
    value { type: DT_FLOAT }
  }
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim { size: 3 }
        }
        float_val: 1.1
      }
    }
  }
}
node {
  name: "out"
  op: "BiasAdd"
  input: "val"
  input: "bias"
  attr {
    key: "T"
    value { type: DT_FLOAT }
  }
  attr {
    key: "data_format"
    value { s: "NCHW" }
  }
}