1 model = Model() 2 i1 = Input("input", "TENSOR_FLOAT32", "{1, 1, 1, 6}") 3 radius = Int32Scalar("radius", 2) 4 bias = Float32Scalar("bias", 9.) 5 alpha = Float32Scalar("alpha", 4.) 6 beta = Float32Scalar("beta", .5) 7 output = Output("output", "TENSOR_FLOAT32", "{1, 1, 1, 6}") 8 9 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output) 10 11 # Example 1. Input in operand 0, 12 input0 = {i1: # input 0 13 [-1.1, .6, .7, 1.2, -.7, .1]} 14 15 output0 = {output: # output 0 16 [-.26492569, .12510864, .14011213, .26726127, -.16178755, .0244266]} 17 18 # Instantiate an example 19 Example((input0, output0)) 20