Use FCL2 instead of FCL which supports axis
Signed-off-by: Kainan Cha <kainan.zha@verisilicon.com>
This commit is contained in:
parent
c141416238
commit
c569555f1f
|
|
@ -3,14 +3,14 @@ TIM-VX API |Internal Op |Status
|
|||
Add|ADD|Mapped
|
||||
Multiply|MULTIPLY|Mapped
|
||||
Conv2d|CONV2D|Mapped
|
||||
||CONV_RELU|Unmapped
|
||||
||CONV_RELU_POOL|Unmapped
|
||||
FullyConnected|FCL|Mapped
|
||||
||FCL_RELU|Unmapped
|
||||
||CONV_RELU|Deprecated
|
||||
||CONV_RELU_POOL|Deprecated
|
||||
||FCL|Deprecated
|
||||
||FCL_RELU|Deprecated
|
||||
Softmax|SOFTMAX|Mapped
|
||||
Pool2d|POOL|Mapped
|
||||
LeakyRelu|LEAKY_RELU|Mapped
|
||||
||LRN|Unmapped
|
||||
||LRN|Deprecated
|
||||
Concat|CONCAT|Mapped
|
||||
Split|SPLIT|Mapped
|
||||
||NOOP|Unmapped
|
||||
|
|
@ -28,7 +28,7 @@ Relu|RELU|Mapped
|
|||
||REORG|Unmapped
|
||||
||VARIABLE|Unmapped
|
||||
L2Normalization|L2_NORMALIZE|Mapped
|
||||
||FCL2|Unmapped
|
||||
FullyConnected|FCL2|Mapped
|
||||
||POOLWITHARGMAX|Unmapped
|
||||
||ARGMAX|Unmapped
|
||||
Maximum|MAXIMUM|Mapped
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@ namespace vx {
|
|||
namespace ops {
|
||||
|
||||
FullyConnected::FullyConnected(Graph* graph, uint32_t axis, uint32_t weights)
|
||||
: Operation(graph, VSI_NN_OP_FCL) {
|
||||
: Operation(graph, VSI_NN_OP_FCL2) {
|
||||
this->impl()->node()->nn_param.fcl.axis = axis;
|
||||
this->impl()->node()->nn_param.fcl.weights = weights;
|
||||
}
|
||||
|
||||
} // namespace ops
|
||||
} // namespace vx
|
||||
} // namespace tim
|
||||
} // namespace tim
|
||||
|
|
|
|||
Loading…
Reference in New Issue