Change back the inferface name (#44)
Signed-off-by: yuenan.li <yuenan.li@verisilicon.com> Co-authored-by: yuenan.li <yuenan.li@verisilicon.com>
This commit is contained in:
parent
56bd7bf8c8
commit
55ef50385e
|
|
@ -32,9 +32,9 @@ namespace tim {
|
|||
namespace vx {
|
||||
namespace ops {
|
||||
|
||||
class BatchToSpace : public Operation {
|
||||
class Batch2Space : public Operation {
|
||||
public:
|
||||
BatchToSpace(Graph* graph, const std::vector<int>& block_size,
|
||||
Batch2Space(Graph* graph, const std::vector<int>& block_size,
|
||||
const std::vector<int>& crop,
|
||||
DataLayout layout = DataLayout::WHCN);
|
||||
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@ namespace tim {
|
|||
namespace vx {
|
||||
namespace ops {
|
||||
|
||||
class SpaceToBatch : public Operation {
|
||||
class Space2Batch : public Operation {
|
||||
public:
|
||||
SpaceToBatch(Graph* graph, const std::vector<int>& block_size,
|
||||
Space2Batch(Graph* graph, const std::vector<int>& block_size,
|
||||
const std::vector<int>& pad,
|
||||
DataLayout layout = DataLayout::WHCN);
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace tim {
|
|||
namespace vx {
|
||||
namespace ops {
|
||||
|
||||
BatchToSpace::BatchToSpace(Graph* graph, const std::vector<int>& block_size,
|
||||
Batch2Space::Batch2Space(Graph* graph, const std::vector<int>& block_size,
|
||||
const std::vector<int>& crop, DataLayout layout)
|
||||
: Operation(graph, VSI_NN_OP_BATCH2SPACE, 0, 0, layout),
|
||||
block_size_(block_size),
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace tim {
|
|||
namespace vx {
|
||||
namespace ops {
|
||||
|
||||
SpaceToBatch::SpaceToBatch(Graph* graph, const std::vector<int>& block_size,
|
||||
Space2Batch::Space2Batch(Graph* graph, const std::vector<int>& block_size,
|
||||
const std::vector<int>& pad, DataLayout layout)
|
||||
: Operation(graph, VSI_NN_OP_SPACE2BATCH, 0, 0, layout),
|
||||
block_size_(block_size),
|
||||
|
|
|
|||
Loading…
Reference in New Issue