PandA-2024.02
|
Variables | |
X = helper.make_tensor_value_info('X', TensorProto.FLOAT, [1, 1, 32, 32]) | |
W_info = helper.make_tensor_value_info('W', TensorProto.FLOAT, [5, 1, 3, 3]) | |
W = np.array([[[[-1,-1,-1],[-1,8.1,-1],[-1,-1,-1]]],[[[0,-1,0],[-1,5,-1],[0,-1,0]]],[[[-2,-1,0],[-1,1,1],[0,1,2]]],[[[1,2,1],[0,0,0],[-1,-2,-1]]],[[[1,0,-1],[2,0,-2],[1,0,-1]]]]).astype(np.float32) | |
Y = helper.make_tensor_value_info('Y', TensorProto.FLOAT, [1, 5, 32, 32]) | |
conv1 | |
graph_def | |
model_def = helper.make_model(graph_def, producer_name='benchmarks') | |
e2_onnx_build.conv1 |
Definition at line 19 of file e2_onnx_build.py.
e2_onnx_build.graph_def |
Definition at line 30 of file e2_onnx_build.py.
e2_onnx_build.model_def = helper.make_model(graph_def, producer_name='benchmarks') |
Definition at line 38 of file e2_onnx_build.py.
e2_onnx_build.W = np.array([[[[-1,-1,-1],[-1,8.1,-1],[-1,-1,-1]]],[[[0,-1,0],[-1,5,-1],[0,-1,0]]],[[[-2,-1,0],[-1,1,1],[0,1,2]]],[[[1,2,1],[0,0,0],[-1,-2,-1]]],[[[1,0,-1],[2,0,-2],[1,0,-1]]]]).astype(np.float32) |
Definition at line 12 of file e2_onnx_build.py.
e2_onnx_build.W_info = helper.make_tensor_value_info('W', TensorProto.FLOAT, [5, 1, 3, 3]) |
Definition at line 11 of file e2_onnx_build.py.
e2_onnx_build.X = helper.make_tensor_value_info('X', TensorProto.FLOAT, [1, 1, 32, 32]) |
Definition at line 9 of file e2_onnx_build.py.
e2_onnx_build.Y = helper.make_tensor_value_info('Y', TensorProto.FLOAT, [1, 5, 32, 32]) |
Definition at line 17 of file e2_onnx_build.py.