text: //===---------------------------------------------------------------------===//
  //
  //                             The ONNC Project
  //
  // Copyright(c) 2018, The ONNC Team
  //
  // This file is part of the ONNC Project and is distributed under
  // 3-clause BSD license (https://opensource.org/licenses/BSD-3-Clause)
  //
  // See LICENSE.TXT for details.
  //
  //===---------------------------------------------------------------------===//
  #ifndef ONNX_BM1880_TLLOAD_H
  #define ONNX_BM1880_TLLOAD_H
  #include "BM188xComputeOperator.h"
  #include "TGBackend.h"
  #include <onnc/Target/Sophon/BM188x/common_calibration2.pb.h>
  #include <onnc/Config/ONNX.h>
  
  namespace onnc {
  namespace BM188X {
  
  class TLLoad : public BM188xComputeOperator
  {
  public:
    TLLoad(const xNode &pNode);
  
    void emit() const override;
    TLLoad *addMemOperands(MemOperand *pInput);
  
  private:
    uint64_t m_SrcGOffset;
    uint64_t m_DstLAddr;
    bool m_DoTranspose;
    bool m_IsAligned;
    bool m_IsNeuron;
    int m_LocalN;
    int m_LocalC;
    int m_LocalH;
    int m_LocalW;
    int m_GlobalC;
    int m_GlobalH;
    int m_GlobalW;
    std::string m_SplitName;
  };
  
  } // namespace BM188X
  } // namespace onnc
  
  #endif
  