3 i1 = Input("input", "TENSOR_BOOL8", "{3, 4}")
4 axis = Int32Scalar("axis", 1)
6 out1 = Output("output", "TENSOR_BOOL8", "{3}")
7 model = model.Operation("REDUCE_ALL", i1, axis, keepDims).To(out1)
9 # Example 1. Input in operand 0, 1
10 input0 = {i1: # input 0
11 [False, False, False, False,
12 False, True, False, False,
13 True, True, True, True]}
15 output0 = {out1: # output 0
18 # Instantiate an example
19 Example((input0, output0))