Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operation 추가를 위해 필요한 부분 #22

Open
timedilation opened this issue Oct 13, 2018 · 4 comments
Open

operation 추가를 위해 필요한 부분 #22

timedilation opened this issue Oct 13, 2018 · 4 comments

Comments

@timedilation
Copy link
Collaborator

MaxPool2D operation을 검색해서 해당 operation에 dependent한 함수와 클래스들을 찾음.

  • codegen/Planner.h
50:  virtual void visit(const graph::operation::MaxPool2D::Implicit::Node &) override;
  • codegen/Planner.cc
65:void Planner::visit(const graph::operation::MaxPool2D::Implicit::Node &node)
  • frontend/model.cc
33:#include "graph/operation/MaxPool2D.h"
267:        using GraphNode = neurun::graph::operation::MaxPool2D::Implicit::Node;
273:        throw std::runtime_error{"Explicit padding in MaxPool2D is not supported, yet"};
  • graph/dumper/Dumper.h
36:  void visit(const graph::operation::MaxPool2D::Implicit::Node &node) override;
  • graph/dumper/Dumper.cc
41:void Dumper::visit(const MaxPool2D::Implicit::Node &node)
43:  VERBOSE(LIR) << "* MaxPool2D(Implicit)" << std::endl;
  • graph/operation/Op.lst
26:OP(MaxPool2D::Implicit , MAX_POOL_2D)
  • graph/operation/MaxPool2D.cc
17:#include "MaxPool2D.h"
30:namespace MaxPool2D
79:} // namespace MaxPool2D
  • graph/operation/MaxPool2D.h
30:namespace MaxPool2D
67:} // namespace MaxPool2D
  • graph/operation/NodeVisitor.h
21:#include "MaxPool2D.h"
42:  virtual void visit(const MaxPool2D::Implicit::Node &) = 0;
  • backend/IStageGenerator.h
27:#include "graph/operation/MaxPool2D.h"
56:  virtual Stage generate(const graph::operation::MaxPool2D::Implicit::Node &node) = 0;
  • backend/acl_cl/StageGenerator.h
41:  virtual Stage generate(const graph::operation::MaxPool2D::Implicit::Node &node) override;
  • backend/acl_cl/StageGenerator.cc
200:Stage StageGenerator::generate(const graph::operation::MaxPool2D::Implicit::Node &node)
  • backend/cpu/StageGenerator.h
42:  virtual Stage generate(const graph::operation::MaxPool2D::Implicit::Node &node) override;
  • backend/cpu/StageGenerator.cc
136:Stage StageGenerator::generate(const graph::operation::MaxPool2D::Implicit::Node &node)
@timedilation
Copy link
Collaborator Author

visit 함수 참고는 pure_arm_compute/src/compilation.cc

timedilation pushed a commit that referenced this issue Oct 21, 2018
timedilation pushed a commit that referenced this issue Oct 21, 2018
@timedilation
Copy link
Collaborator Author

파일 추가

  • kernel/cpu/ReshapeLayer.h
33:class ReshapeLayer : public ::arm_compute::IFunction
  • kernel/cpu/ReshapeLayer.cc
31:ReshapeLayer::ReshapeLayer()
37:bool ReshapeLayer::reshapeGeneric()
44:void ReshapeLayer::configure(uint8_t *inputData, const Shape &inputShape, uint8_t *outputData,
53:void ReshapeLayer::run() { reshapeGeneric(); }

@timedilation
Copy link
Collaborator Author

추가된 파일 작성하는데 참고할 파일

tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h

@timedilation
Copy link
Collaborator Author

추가된 파일 작성하는데 참고할 파일2 (Quant version)

tensorflow/tensorflow/contrib/lite/kernels/activations.cc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant