ONE - On-device Neural Engine
|
Public Member Functions | |
StartAnalysis (self, args) | |
DefaultOpPost (self, name, opcode, inputs, output) | |
testConv2D (self, padding, stride, dilation, fused_act) | |
Conv2DPre (self, name, input, filter, bias, padding, stride, dilation, fused_act) | |
Conv2DPost (self, name, input, filter, bias, padding, stride, dilation, output, fused_act) | |
testAdd (self, fused_act) | |
AddPre (self, name, x, y, fused_act) | |
AddPost (self, name, x, y, output, fused_act) | |
testDepthwiseConv2D (self, padding, stride, depth_multiplier, dilation, fused_act) | |
DepthwiseConv2DPre (self, name, input, filter, bias, padding, stride, depth_multiplier, dilation, fused_act) | |
DepthwiseConv2DPost (self, name, input, filter, bias, padding, stride, depth_multiplier, dilation, output, fused_act) | |
testFullyConnected (self, fused_act) | |
FullyConnectedPre (self, name, input, weights, bias, fused_act) | |
FullyConnectedPost (self, name, input, weights, bias, output, fused_act) | |
testTransposeConv (self, padding, stride) | |
TransposeConvPre (self, name, input, filter, output_shape, bias, padding, stride) | |
TransposeConvPost (self, name, input, filter, output_shape, bias, padding, stride, output) | |
testInstanceNorm (self, epsilon, fused_act) | |
InstanceNormPre (self, name, input, gamma, beta, epsilon, fused_act) | |
InstanceNormPost (self, name, input, gamma, beta, epsilon, output, fused_act) | |
testSplit (self, num_split) | |
SplitPre (self, name, split_dim, input, num_split) | |
SplitPost (self, name, split_dim, input, num_split, outputs) | |
Protected Attributes | |
_model | |
_op | |
_opt | |
Definition at line 33 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.AddPost | ( | self, | |
name, | |||
x, | |||
y, | |||
output, | |||
fused_act | |||
) |
Definition at line 94 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.AddPre | ( | self, | |
name, | |||
x, | |||
y, | |||
fused_act | |||
) |
Definition at line 91 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.Conv2DPost | ( | self, | |
name, | |||
input, | |||
filter, | |||
bias, | |||
padding, | |||
stride, | |||
dilation, | |||
output, | |||
fused_act | |||
) |
Definition at line 73 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.Conv2DPre | ( | self, | |
name, | |||
input, | |||
filter, | |||
bias, | |||
padding, | |||
stride, | |||
dilation, | |||
fused_act | |||
) |
Definition at line 70 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.DefaultOpPost | ( | self, | |
name, | |||
opcode, | |||
inputs, | |||
output | |||
) |
Definition at line 48 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.DepthwiseConv2DPost | ( | self, | |
name, | |||
input, | |||
filter, | |||
bias, | |||
padding, | |||
stride, | |||
depth_multiplier, | |||
dilation, | |||
output, | |||
fused_act | |||
) |
Definition at line 123 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.DepthwiseConv2DPre | ( | self, | |
name, | |||
input, | |||
filter, | |||
bias, | |||
padding, | |||
stride, | |||
depth_multiplier, | |||
dilation, | |||
fused_act | |||
) |
Definition at line 119 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.FullyConnectedPost | ( | self, | |
name, | |||
input, | |||
weights, | |||
bias, | |||
output, | |||
fused_act | |||
) |
Definition at line 144 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.FullyConnectedPre | ( | self, | |
name, | |||
input, | |||
weights, | |||
bias, | |||
fused_act | |||
) |
Definition at line 141 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.InstanceNormPost | ( | self, | |
name, | |||
input, | |||
gamma, | |||
beta, | |||
epsilon, | |||
output, | |||
fused_act | |||
) |
Definition at line 188 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.InstanceNormPre | ( | self, | |
name, | |||
input, | |||
gamma, | |||
beta, | |||
epsilon, | |||
fused_act | |||
) |
Definition at line 185 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.SplitPost | ( | self, | |
name, | |||
split_dim, | |||
input, | |||
num_split, | |||
outputs | |||
) |
Definition at line 208 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.SplitPre | ( | self, | |
name, | |||
split_dim, | |||
input, | |||
num_split | |||
) |
Definition at line 205 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.StartAnalysis | ( | self, | |
args | |||
) |
Called when the analysis starts
Definition at line 34 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testAdd | ( | self, | |
fused_act | |||
) |
Definition at line 77 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testConv2D | ( | self, | |
padding, | |||
stride, | |||
dilation, | |||
fused_act | |||
) |
Definition at line 51 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testDepthwiseConv2D | ( | self, | |
padding, | |||
stride, | |||
depth_multiplier, | |||
dilation, | |||
fused_act | |||
) |
Definition at line 97 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testFullyConnected | ( | self, | |
fused_act | |||
) |
Definition at line 127 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testInstanceNorm | ( | self, | |
epsilon, | |||
fused_act | |||
) |
Definition at line 170 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testSplit | ( | self, | |
num_split | |||
) |
Definition at line 191 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.testTransposeConv | ( | self, | |
padding, | |||
stride | |||
) |
Definition at line 147 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.TransposeConvPost | ( | self, | |
name, | |||
input, | |||
filter, | |||
output_shape, | |||
bias, | |||
padding, | |||
stride, | |||
output | |||
) |
Definition at line 166 of file SingleOperatorTest.py.
SingleOperatorTest.SingleOperatorTest.TransposeConvPre | ( | self, | |
name, | |||
input, | |||
filter, | |||
output_shape, | |||
bias, | |||
padding, | |||
stride | |||
) |
Definition at line 163 of file SingleOperatorTest.py.
|
protected |
|
protected |
Definition at line 46 of file SingleOperatorTest.py.
|
protected |
Definition at line 60 of file SingleOperatorTest.py.