// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: framework.proto

#ifndef PROTOBUF_framework_2eproto__INCLUDED
#define PROTOBUF_framework_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3001000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

namespace paddle {
namespace framework {
namespace proto {

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_framework_2eproto();
void protobuf_InitDefaults_framework_2eproto();
void protobuf_AssignDesc_framework_2eproto();
void protobuf_ShutdownFile_framework_2eproto();

class BlockDesc;
class OpDesc;
class OpDesc_Attr;
class OpDesc_Var;
class OpProto;
class OpProto_Attr;
class OpProto_Var;
class OpVersion;
class OpVersionMap;
class OpVersionMap_OpVersionPair;
class ProgramDesc;
class VarDesc;
class VarType;
class VarType_LoDTensorArrayDesc;
class VarType_LoDTensorDesc;
class VarType_ReaderDesc;
class VarType_TensorDesc;
class VarType_Tuple;
class Version;

enum VarType_Type {
  VarType_Type_BOOL = 0,
  VarType_Type_INT16 = 1,
  VarType_Type_INT32 = 2,
  VarType_Type_INT64 = 3,
  VarType_Type_FP16 = 4,
  VarType_Type_FP32 = 5,
  VarType_Type_FP64 = 6,
  VarType_Type_SIZE_T = 19,
  VarType_Type_UINT8 = 20,
  VarType_Type_INT8 = 21,
  VarType_Type_BF16 = 22,
  VarType_Type_COMPLEX64 = 23,
  VarType_Type_COMPLEX128 = 24,
  VarType_Type_LOD_TENSOR = 7,
  VarType_Type_SELECTED_ROWS = 8,
  VarType_Type_FEED_MINIBATCH = 9,
  VarType_Type_FETCH_LIST = 10,
  VarType_Type_STEP_SCOPES = 11,
  VarType_Type_LOD_RANK_TABLE = 12,
  VarType_Type_LOD_TENSOR_ARRAY = 13,
  VarType_Type_PLACE_LIST = 14,
  VarType_Type_READER = 15,
  VarType_Type_RAW = 17,
  VarType_Type_TUPLE = 18
};
bool VarType_Type_IsValid(int value);
const VarType_Type VarType_Type_Type_MIN = VarType_Type_BOOL;
const VarType_Type VarType_Type_Type_MAX = VarType_Type_COMPLEX128;
const int VarType_Type_Type_ARRAYSIZE = VarType_Type_Type_MAX + 1;

const ::google::protobuf::EnumDescriptor* VarType_Type_descriptor();
inline const ::std::string& VarType_Type_Name(VarType_Type value) {
  return ::google::protobuf::internal::NameOfEnum(
    VarType_Type_descriptor(), value);
}
inline bool VarType_Type_Parse(
    const ::std::string& name, VarType_Type* value) {
  return ::google::protobuf::internal::ParseNamedEnum<VarType_Type>(
    VarType_Type_descriptor(), name, value);
}
enum AttrType {
  INT = 0,
  FLOAT = 1,
  STRING = 2,
  INTS = 3,
  FLOATS = 4,
  STRINGS = 5,
  BOOLEAN = 6,
  BOOLEANS = 7,
  BLOCK = 8,
  LONG = 9,
  BLOCKS = 10,
  LONGS = 11,
  FLOAT64S = 12
};
bool AttrType_IsValid(int value);
const AttrType AttrType_MIN = INT;
const AttrType AttrType_MAX = FLOAT64S;
const int AttrType_ARRAYSIZE = AttrType_MAX + 1;

const ::google::protobuf::EnumDescriptor* AttrType_descriptor();
inline const ::std::string& AttrType_Name(AttrType value) {
  return ::google::protobuf::internal::NameOfEnum(
    AttrType_descriptor(), value);
}
inline bool AttrType_Parse(
    const ::std::string& name, AttrType* value) {
  return ::google::protobuf::internal::ParseNamedEnum<AttrType>(
    AttrType_descriptor(), name, value);
}
// ===================================================================

class Version : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.Version) */ {
 public:
  Version();
  virtual ~Version();

  Version(const Version& from);

  inline Version& operator=(const Version& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const Version& default_instance();

  static const Version* internal_default_instance();

  void Swap(Version* other);

  // implements Message ----------------------------------------------

  inline Version* New() const { return New(NULL); }

  Version* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const Version& from);
  void MergeFrom(const Version& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(Version* other);
  void UnsafeMergeFrom(const Version& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional int64 version = 1 [default = 0];
  bool has_version() const;
  void clear_version();
  static const int kVersionFieldNumber = 1;
  ::google::protobuf::int64 version() const;
  void set_version(::google::protobuf::int64 value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.Version)
 private:
  inline void set_has_version();
  inline void clear_has_version();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::int64 version_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<Version> Version_default_instance_;

// -------------------------------------------------------------------

class OpDesc_Attr : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpDesc.Attr) */ {
 public:
  OpDesc_Attr();
  virtual ~OpDesc_Attr();

  OpDesc_Attr(const OpDesc_Attr& from);

  inline OpDesc_Attr& operator=(const OpDesc_Attr& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpDesc_Attr& default_instance();

  static const OpDesc_Attr* internal_default_instance();

  void Swap(OpDesc_Attr* other);

  // implements Message ----------------------------------------------

  inline OpDesc_Attr* New() const { return New(NULL); }

  OpDesc_Attr* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpDesc_Attr& from);
  void MergeFrom(const OpDesc_Attr& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpDesc_Attr* other);
  void UnsafeMergeFrom(const OpDesc_Attr& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required string name = 1;
  bool has_name() const;
  void clear_name();
  static const int kNameFieldNumber = 1;
  const ::std::string& name() const;
  void set_name(const ::std::string& value);
  void set_name(const char* value);
  void set_name(const char* value, size_t size);
  ::std::string* mutable_name();
  ::std::string* release_name();
  void set_allocated_name(::std::string* name);

  // required .paddle.framework.proto.AttrType type = 2;
  bool has_type() const;
  void clear_type();
  static const int kTypeFieldNumber = 2;
  ::paddle::framework::proto::AttrType type() const;
  void set_type(::paddle::framework::proto::AttrType value);

  // optional int32 i = 3;
  bool has_i() const;
  void clear_i();
  static const int kIFieldNumber = 3;
  ::google::protobuf::int32 i() const;
  void set_i(::google::protobuf::int32 value);

  // optional float f = 4;
  bool has_f() const;
  void clear_f();
  static const int kFFieldNumber = 4;
  float f() const;
  void set_f(float value);

  // optional string s = 5;
  bool has_s() const;
  void clear_s();
  static const int kSFieldNumber = 5;
  const ::std::string& s() const;
  void set_s(const ::std::string& value);
  void set_s(const char* value);
  void set_s(const char* value, size_t size);
  ::std::string* mutable_s();
  ::std::string* release_s();
  void set_allocated_s(::std::string* s);

  // repeated int32 ints = 6;
  int ints_size() const;
  void clear_ints();
  static const int kIntsFieldNumber = 6;
  ::google::protobuf::int32 ints(int index) const;
  void set_ints(int index, ::google::protobuf::int32 value);
  void add_ints(::google::protobuf::int32 value);
  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      ints() const;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_ints();

  // repeated float floats = 7;
  int floats_size() const;
  void clear_floats();
  static const int kFloatsFieldNumber = 7;
  float floats(int index) const;
  void set_floats(int index, float value);
  void add_floats(float value);
  const ::google::protobuf::RepeatedField< float >&
      floats() const;
  ::google::protobuf::RepeatedField< float >*
      mutable_floats();

  // repeated string strings = 8;
  int strings_size() const;
  void clear_strings();
  static const int kStringsFieldNumber = 8;
  const ::std::string& strings(int index) const;
  ::std::string* mutable_strings(int index);
  void set_strings(int index, const ::std::string& value);
  void set_strings(int index, const char* value);
  void set_strings(int index, const char* value, size_t size);
  ::std::string* add_strings();
  void add_strings(const ::std::string& value);
  void add_strings(const char* value);
  void add_strings(const char* value, size_t size);
  const ::google::protobuf::RepeatedPtrField< ::std::string>& strings() const;
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_strings();

  // optional bool b = 10;
  bool has_b() const;
  void clear_b();
  static const int kBFieldNumber = 10;
  bool b() const;
  void set_b(bool value);

  // repeated bool bools = 11;
  int bools_size() const;
  void clear_bools();
  static const int kBoolsFieldNumber = 11;
  bool bools(int index) const;
  void set_bools(int index, bool value);
  void add_bools(bool value);
  const ::google::protobuf::RepeatedField< bool >&
      bools() const;
  ::google::protobuf::RepeatedField< bool >*
      mutable_bools();

  // optional int32 block_idx = 12;
  bool has_block_idx() const;
  void clear_block_idx();
  static const int kBlockIdxFieldNumber = 12;
  ::google::protobuf::int32 block_idx() const;
  void set_block_idx(::google::protobuf::int32 value);

  // optional int64 l = 13;
  bool has_l() const;
  void clear_l();
  static const int kLFieldNumber = 13;
  ::google::protobuf::int64 l() const;
  void set_l(::google::protobuf::int64 value);

  // repeated int32 blocks_idx = 14;
  int blocks_idx_size() const;
  void clear_blocks_idx();
  static const int kBlocksIdxFieldNumber = 14;
  ::google::protobuf::int32 blocks_idx(int index) const;
  void set_blocks_idx(int index, ::google::protobuf::int32 value);
  void add_blocks_idx(::google::protobuf::int32 value);
  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      blocks_idx() const;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_blocks_idx();

  // repeated int64 longs = 15;
  int longs_size() const;
  void clear_longs();
  static const int kLongsFieldNumber = 15;
  ::google::protobuf::int64 longs(int index) const;
  void set_longs(int index, ::google::protobuf::int64 value);
  void add_longs(::google::protobuf::int64 value);
  const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
      longs() const;
  ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
      mutable_longs();

  // repeated double float64s = 16;
  int float64s_size() const;
  void clear_float64s();
  static const int kFloat64SFieldNumber = 16;
  double float64s(int index) const;
  void set_float64s(int index, double value);
  void add_float64s(double value);
  const ::google::protobuf::RepeatedField< double >&
      float64s() const;
  ::google::protobuf::RepeatedField< double >*
      mutable_float64s();

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpDesc.Attr)
 private:
  inline void set_has_name();
  inline void clear_has_name();
  inline void set_has_type();
  inline void clear_has_type();
  inline void set_has_i();
  inline void clear_has_i();
  inline void set_has_f();
  inline void clear_has_f();
  inline void set_has_s();
  inline void clear_has_s();
  inline void set_has_b();
  inline void clear_has_b();
  inline void set_has_block_idx();
  inline void clear_has_block_idx();
  inline void set_has_l();
  inline void clear_has_l();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > ints_;
  ::google::protobuf::RepeatedField< float > floats_;
  ::google::protobuf::RepeatedPtrField< ::std::string> strings_;
  ::google::protobuf::RepeatedField< bool > bools_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > blocks_idx_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > longs_;
  ::google::protobuf::RepeatedField< double > float64s_;
  ::google::protobuf::internal::ArenaStringPtr name_;
  ::google::protobuf::internal::ArenaStringPtr s_;
  int type_;
  ::google::protobuf::int32 i_;
  float f_;
  bool b_;
  ::google::protobuf::int64 l_;
  ::google::protobuf::int32 block_idx_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpDesc_Attr> OpDesc_Attr_default_instance_;

// -------------------------------------------------------------------

class OpDesc_Var : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpDesc.Var) */ {
 public:
  OpDesc_Var();
  virtual ~OpDesc_Var();

  OpDesc_Var(const OpDesc_Var& from);

  inline OpDesc_Var& operator=(const OpDesc_Var& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpDesc_Var& default_instance();

  static const OpDesc_Var* internal_default_instance();

  void Swap(OpDesc_Var* other);

  // implements Message ----------------------------------------------

  inline OpDesc_Var* New() const { return New(NULL); }

  OpDesc_Var* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpDesc_Var& from);
  void MergeFrom(const OpDesc_Var& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpDesc_Var* other);
  void UnsafeMergeFrom(const OpDesc_Var& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required string parameter = 1;
  bool has_parameter() const;
  void clear_parameter();
  static const int kParameterFieldNumber = 1;
  const ::std::string& parameter() const;
  void set_parameter(const ::std::string& value);
  void set_parameter(const char* value);
  void set_parameter(const char* value, size_t size);
  ::std::string* mutable_parameter();
  ::std::string* release_parameter();
  void set_allocated_parameter(::std::string* parameter);

  // repeated string arguments = 2;
  int arguments_size() const;
  void clear_arguments();
  static const int kArgumentsFieldNumber = 2;
  const ::std::string& arguments(int index) const;
  ::std::string* mutable_arguments(int index);
  void set_arguments(int index, const ::std::string& value);
  void set_arguments(int index, const char* value);
  void set_arguments(int index, const char* value, size_t size);
  ::std::string* add_arguments();
  void add_arguments(const ::std::string& value);
  void add_arguments(const char* value);
  void add_arguments(const char* value, size_t size);
  const ::google::protobuf::RepeatedPtrField< ::std::string>& arguments() const;
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_arguments();

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpDesc.Var)
 private:
  inline void set_has_parameter();
  inline void clear_has_parameter();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::std::string> arguments_;
  ::google::protobuf::internal::ArenaStringPtr parameter_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpDesc_Var> OpDesc_Var_default_instance_;

// -------------------------------------------------------------------

class OpDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpDesc) */ {
 public:
  OpDesc();
  virtual ~OpDesc();

  OpDesc(const OpDesc& from);

  inline OpDesc& operator=(const OpDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpDesc& default_instance();

  static const OpDesc* internal_default_instance();

  void Swap(OpDesc* other);

  // implements Message ----------------------------------------------

  inline OpDesc* New() const { return New(NULL); }

  OpDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpDesc& from);
  void MergeFrom(const OpDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpDesc* other);
  void UnsafeMergeFrom(const OpDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  typedef OpDesc_Attr Attr;
  typedef OpDesc_Var Var;

  // accessors -------------------------------------------------------

  // required string type = 3;
  bool has_type() const;
  void clear_type();
  static const int kTypeFieldNumber = 3;
  const ::std::string& type() const;
  void set_type(const ::std::string& value);
  void set_type(const char* value);
  void set_type(const char* value, size_t size);
  ::std::string* mutable_type();
  ::std::string* release_type();
  void set_allocated_type(::std::string* type);

  // repeated .paddle.framework.proto.OpDesc.Var inputs = 1;
  int inputs_size() const;
  void clear_inputs();
  static const int kInputsFieldNumber = 1;
  const ::paddle::framework::proto::OpDesc_Var& inputs(int index) const;
  ::paddle::framework::proto::OpDesc_Var* mutable_inputs(int index);
  ::paddle::framework::proto::OpDesc_Var* add_inputs();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >*
      mutable_inputs();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >&
      inputs() const;

  // repeated .paddle.framework.proto.OpDesc.Var outputs = 2;
  int outputs_size() const;
  void clear_outputs();
  static const int kOutputsFieldNumber = 2;
  const ::paddle::framework::proto::OpDesc_Var& outputs(int index) const;
  ::paddle::framework::proto::OpDesc_Var* mutable_outputs(int index);
  ::paddle::framework::proto::OpDesc_Var* add_outputs();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >*
      mutable_outputs();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >&
      outputs() const;

  // repeated .paddle.framework.proto.OpDesc.Attr attrs = 4;
  int attrs_size() const;
  void clear_attrs();
  static const int kAttrsFieldNumber = 4;
  const ::paddle::framework::proto::OpDesc_Attr& attrs(int index) const;
  ::paddle::framework::proto::OpDesc_Attr* mutable_attrs(int index);
  ::paddle::framework::proto::OpDesc_Attr* add_attrs();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Attr >*
      mutable_attrs();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Attr >&
      attrs() const;

  // optional bool is_target = 5 [default = false];
  bool has_is_target() const;
  void clear_is_target();
  static const int kIsTargetFieldNumber = 5;
  bool is_target() const;
  void set_is_target(bool value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpDesc)
 private:
  inline void set_has_type();
  inline void clear_has_type();
  inline void set_has_is_target();
  inline void clear_has_is_target();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var > inputs_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var > outputs_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Attr > attrs_;
  ::google::protobuf::internal::ArenaStringPtr type_;
  bool is_target_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpDesc> OpDesc_default_instance_;

// -------------------------------------------------------------------

class OpProto_Var : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpProto.Var) */ {
 public:
  OpProto_Var();
  virtual ~OpProto_Var();

  OpProto_Var(const OpProto_Var& from);

  inline OpProto_Var& operator=(const OpProto_Var& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpProto_Var& default_instance();

  static const OpProto_Var* internal_default_instance();

  void Swap(OpProto_Var* other);

  // implements Message ----------------------------------------------

  inline OpProto_Var* New() const { return New(NULL); }

  OpProto_Var* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpProto_Var& from);
  void MergeFrom(const OpProto_Var& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpProto_Var* other);
  void UnsafeMergeFrom(const OpProto_Var& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required string name = 1;
  bool has_name() const;
  void clear_name();
  static const int kNameFieldNumber = 1;
  const ::std::string& name() const;
  void set_name(const ::std::string& value);
  void set_name(const char* value);
  void set_name(const char* value, size_t size);
  ::std::string* mutable_name();
  ::std::string* release_name();
  void set_allocated_name(::std::string* name);

  // required string comment = 2;
  bool has_comment() const;
  void clear_comment();
  static const int kCommentFieldNumber = 2;
  const ::std::string& comment() const;
  void set_comment(const ::std::string& value);
  void set_comment(const char* value);
  void set_comment(const char* value, size_t size);
  ::std::string* mutable_comment();
  ::std::string* release_comment();
  void set_allocated_comment(::std::string* comment);

  // optional bool duplicable = 3 [default = false];
  bool has_duplicable() const;
  void clear_duplicable();
  static const int kDuplicableFieldNumber = 3;
  bool duplicable() const;
  void set_duplicable(bool value);

  // optional bool intermediate = 4 [default = false];
  bool has_intermediate() const;
  void clear_intermediate();
  static const int kIntermediateFieldNumber = 4;
  bool intermediate() const;
  void set_intermediate(bool value);

  // optional bool dispensable = 5 [default = false];
  bool has_dispensable() const;
  void clear_dispensable();
  static const int kDispensableFieldNumber = 5;
  bool dispensable() const;
  void set_dispensable(bool value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpProto.Var)
 private:
  inline void set_has_name();
  inline void clear_has_name();
  inline void set_has_comment();
  inline void clear_has_comment();
  inline void set_has_duplicable();
  inline void clear_has_duplicable();
  inline void set_has_intermediate();
  inline void clear_has_intermediate();
  inline void set_has_dispensable();
  inline void clear_has_dispensable();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::internal::ArenaStringPtr name_;
  ::google::protobuf::internal::ArenaStringPtr comment_;
  bool duplicable_;
  bool intermediate_;
  bool dispensable_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpProto_Var> OpProto_Var_default_instance_;

// -------------------------------------------------------------------

class OpProto_Attr : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpProto.Attr) */ {
 public:
  OpProto_Attr();
  virtual ~OpProto_Attr();

  OpProto_Attr(const OpProto_Attr& from);

  inline OpProto_Attr& operator=(const OpProto_Attr& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpProto_Attr& default_instance();

  static const OpProto_Attr* internal_default_instance();

  void Swap(OpProto_Attr* other);

  // implements Message ----------------------------------------------

  inline OpProto_Attr* New() const { return New(NULL); }

  OpProto_Attr* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpProto_Attr& from);
  void MergeFrom(const OpProto_Attr& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpProto_Attr* other);
  void UnsafeMergeFrom(const OpProto_Attr& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required string name = 1;
  bool has_name() const;
  void clear_name();
  static const int kNameFieldNumber = 1;
  const ::std::string& name() const;
  void set_name(const ::std::string& value);
  void set_name(const char* value);
  void set_name(const char* value, size_t size);
  ::std::string* mutable_name();
  ::std::string* release_name();
  void set_allocated_name(::std::string* name);

  // required .paddle.framework.proto.AttrType type = 2;
  bool has_type() const;
  void clear_type();
  static const int kTypeFieldNumber = 2;
  ::paddle::framework::proto::AttrType type() const;
  void set_type(::paddle::framework::proto::AttrType value);

  // required string comment = 3;
  bool has_comment() const;
  void clear_comment();
  static const int kCommentFieldNumber = 3;
  const ::std::string& comment() const;
  void set_comment(const ::std::string& value);
  void set_comment(const char* value);
  void set_comment(const char* value, size_t size);
  ::std::string* mutable_comment();
  ::std::string* release_comment();
  void set_allocated_comment(::std::string* comment);

  // optional bool generated = 4 [default = false];
  bool has_generated() const;
  void clear_generated();
  static const int kGeneratedFieldNumber = 4;
  bool generated() const;
  void set_generated(bool value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpProto.Attr)
 private:
  inline void set_has_name();
  inline void clear_has_name();
  inline void set_has_type();
  inline void clear_has_type();
  inline void set_has_comment();
  inline void clear_has_comment();
  inline void set_has_generated();
  inline void clear_has_generated();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::internal::ArenaStringPtr name_;
  ::google::protobuf::internal::ArenaStringPtr comment_;
  int type_;
  bool generated_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpProto_Attr> OpProto_Attr_default_instance_;

// -------------------------------------------------------------------

class OpProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpProto) */ {
 public:
  OpProto();
  virtual ~OpProto();

  OpProto(const OpProto& from);

  inline OpProto& operator=(const OpProto& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpProto& default_instance();

  static const OpProto* internal_default_instance();

  void Swap(OpProto* other);

  // implements Message ----------------------------------------------

  inline OpProto* New() const { return New(NULL); }

  OpProto* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpProto& from);
  void MergeFrom(const OpProto& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpProto* other);
  void UnsafeMergeFrom(const OpProto& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  typedef OpProto_Var Var;
  typedef OpProto_Attr Attr;

  // accessors -------------------------------------------------------

  // required string type = 1;
  bool has_type() const;
  void clear_type();
  static const int kTypeFieldNumber = 1;
  const ::std::string& type() const;
  void set_type(const ::std::string& value);
  void set_type(const char* value);
  void set_type(const char* value, size_t size);
  ::std::string* mutable_type();
  ::std::string* release_type();
  void set_allocated_type(::std::string* type);

  // repeated .paddle.framework.proto.OpProto.Var inputs = 2;
  int inputs_size() const;
  void clear_inputs();
  static const int kInputsFieldNumber = 2;
  const ::paddle::framework::proto::OpProto_Var& inputs(int index) const;
  ::paddle::framework::proto::OpProto_Var* mutable_inputs(int index);
  ::paddle::framework::proto::OpProto_Var* add_inputs();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >*
      mutable_inputs();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >&
      inputs() const;

  // repeated .paddle.framework.proto.OpProto.Var outputs = 3;
  int outputs_size() const;
  void clear_outputs();
  static const int kOutputsFieldNumber = 3;
  const ::paddle::framework::proto::OpProto_Var& outputs(int index) const;
  ::paddle::framework::proto::OpProto_Var* mutable_outputs(int index);
  ::paddle::framework::proto::OpProto_Var* add_outputs();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >*
      mutable_outputs();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >&
      outputs() const;

  // repeated .paddle.framework.proto.OpProto.Attr attrs = 4;
  int attrs_size() const;
  void clear_attrs();
  static const int kAttrsFieldNumber = 4;
  const ::paddle::framework::proto::OpProto_Attr& attrs(int index) const;
  ::paddle::framework::proto::OpProto_Attr* mutable_attrs(int index);
  ::paddle::framework::proto::OpProto_Attr* add_attrs();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Attr >*
      mutable_attrs();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Attr >&
      attrs() const;

  // required string comment = 5;
  bool has_comment() const;
  void clear_comment();
  static const int kCommentFieldNumber = 5;
  const ::std::string& comment() const;
  void set_comment(const ::std::string& value);
  void set_comment(const char* value);
  void set_comment(const char* value, size_t size);
  ::std::string* mutable_comment();
  ::std::string* release_comment();
  void set_allocated_comment(::std::string* comment);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpProto)
 private:
  inline void set_has_type();
  inline void clear_has_type();
  inline void set_has_comment();
  inline void clear_has_comment();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var > inputs_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var > outputs_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Attr > attrs_;
  ::google::protobuf::internal::ArenaStringPtr type_;
  ::google::protobuf::internal::ArenaStringPtr comment_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpProto> OpProto_default_instance_;

// -------------------------------------------------------------------

class VarType_TensorDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarType.TensorDesc) */ {
 public:
  VarType_TensorDesc();
  virtual ~VarType_TensorDesc();

  VarType_TensorDesc(const VarType_TensorDesc& from);

  inline VarType_TensorDesc& operator=(const VarType_TensorDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarType_TensorDesc& default_instance();

  static const VarType_TensorDesc* internal_default_instance();

  void Swap(VarType_TensorDesc* other);

  // implements Message ----------------------------------------------

  inline VarType_TensorDesc* New() const { return New(NULL); }

  VarType_TensorDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarType_TensorDesc& from);
  void MergeFrom(const VarType_TensorDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarType_TensorDesc* other);
  void UnsafeMergeFrom(const VarType_TensorDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required .paddle.framework.proto.VarType.Type data_type = 1;
  bool has_data_type() const;
  void clear_data_type();
  static const int kDataTypeFieldNumber = 1;
  ::paddle::framework::proto::VarType_Type data_type() const;
  void set_data_type(::paddle::framework::proto::VarType_Type value);

  // repeated int64 dims = 2;
  int dims_size() const;
  void clear_dims();
  static const int kDimsFieldNumber = 2;
  ::google::protobuf::int64 dims(int index) const;
  void set_dims(int index, ::google::protobuf::int64 value);
  void add_dims(::google::protobuf::int64 value);
  const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
      dims() const;
  ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
      mutable_dims();

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarType.TensorDesc)
 private:
  inline void set_has_data_type();
  inline void clear_has_data_type();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > dims_;
  int data_type_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarType_TensorDesc> VarType_TensorDesc_default_instance_;

// -------------------------------------------------------------------

class VarType_LoDTensorDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarType.LoDTensorDesc) */ {
 public:
  VarType_LoDTensorDesc();
  virtual ~VarType_LoDTensorDesc();

  VarType_LoDTensorDesc(const VarType_LoDTensorDesc& from);

  inline VarType_LoDTensorDesc& operator=(const VarType_LoDTensorDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarType_LoDTensorDesc& default_instance();

  static const VarType_LoDTensorDesc* internal_default_instance();

  void Swap(VarType_LoDTensorDesc* other);

  // implements Message ----------------------------------------------

  inline VarType_LoDTensorDesc* New() const { return New(NULL); }

  VarType_LoDTensorDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarType_LoDTensorDesc& from);
  void MergeFrom(const VarType_LoDTensorDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarType_LoDTensorDesc* other);
  void UnsafeMergeFrom(const VarType_LoDTensorDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required .paddle.framework.proto.VarType.TensorDesc tensor = 1;
  bool has_tensor() const;
  void clear_tensor();
  static const int kTensorFieldNumber = 1;
  const ::paddle::framework::proto::VarType_TensorDesc& tensor() const;
  ::paddle::framework::proto::VarType_TensorDesc* mutable_tensor();
  ::paddle::framework::proto::VarType_TensorDesc* release_tensor();
  void set_allocated_tensor(::paddle::framework::proto::VarType_TensorDesc* tensor);

  // optional int32 lod_level = 2 [default = 0];
  bool has_lod_level() const;
  void clear_lod_level();
  static const int kLodLevelFieldNumber = 2;
  ::google::protobuf::int32 lod_level() const;
  void set_lod_level(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarType.LoDTensorDesc)
 private:
  inline void set_has_tensor();
  inline void clear_has_tensor();
  inline void set_has_lod_level();
  inline void clear_has_lod_level();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::paddle::framework::proto::VarType_TensorDesc* tensor_;
  ::google::protobuf::int32 lod_level_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarType_LoDTensorDesc> VarType_LoDTensorDesc_default_instance_;

// -------------------------------------------------------------------

class VarType_LoDTensorArrayDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarType.LoDTensorArrayDesc) */ {
 public:
  VarType_LoDTensorArrayDesc();
  virtual ~VarType_LoDTensorArrayDesc();

  VarType_LoDTensorArrayDesc(const VarType_LoDTensorArrayDesc& from);

  inline VarType_LoDTensorArrayDesc& operator=(const VarType_LoDTensorArrayDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarType_LoDTensorArrayDesc& default_instance();

  static const VarType_LoDTensorArrayDesc* internal_default_instance();

  void Swap(VarType_LoDTensorArrayDesc* other);

  // implements Message ----------------------------------------------

  inline VarType_LoDTensorArrayDesc* New() const { return New(NULL); }

  VarType_LoDTensorArrayDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarType_LoDTensorArrayDesc& from);
  void MergeFrom(const VarType_LoDTensorArrayDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarType_LoDTensorArrayDesc* other);
  void UnsafeMergeFrom(const VarType_LoDTensorArrayDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required .paddle.framework.proto.VarType.TensorDesc tensor = 1;
  bool has_tensor() const;
  void clear_tensor();
  static const int kTensorFieldNumber = 1;
  const ::paddle::framework::proto::VarType_TensorDesc& tensor() const;
  ::paddle::framework::proto::VarType_TensorDesc* mutable_tensor();
  ::paddle::framework::proto::VarType_TensorDesc* release_tensor();
  void set_allocated_tensor(::paddle::framework::proto::VarType_TensorDesc* tensor);

  // optional int32 lod_level = 2 [default = 0];
  bool has_lod_level() const;
  void clear_lod_level();
  static const int kLodLevelFieldNumber = 2;
  ::google::protobuf::int32 lod_level() const;
  void set_lod_level(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarType.LoDTensorArrayDesc)
 private:
  inline void set_has_tensor();
  inline void clear_has_tensor();
  inline void set_has_lod_level();
  inline void clear_has_lod_level();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::paddle::framework::proto::VarType_TensorDesc* tensor_;
  ::google::protobuf::int32 lod_level_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarType_LoDTensorArrayDesc> VarType_LoDTensorArrayDesc_default_instance_;

// -------------------------------------------------------------------

class VarType_ReaderDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarType.ReaderDesc) */ {
 public:
  VarType_ReaderDesc();
  virtual ~VarType_ReaderDesc();

  VarType_ReaderDesc(const VarType_ReaderDesc& from);

  inline VarType_ReaderDesc& operator=(const VarType_ReaderDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarType_ReaderDesc& default_instance();

  static const VarType_ReaderDesc* internal_default_instance();

  void Swap(VarType_ReaderDesc* other);

  // implements Message ----------------------------------------------

  inline VarType_ReaderDesc* New() const { return New(NULL); }

  VarType_ReaderDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarType_ReaderDesc& from);
  void MergeFrom(const VarType_ReaderDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarType_ReaderDesc* other);
  void UnsafeMergeFrom(const VarType_ReaderDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .paddle.framework.proto.VarType.LoDTensorDesc lod_tensor = 1;
  int lod_tensor_size() const;
  void clear_lod_tensor();
  static const int kLodTensorFieldNumber = 1;
  const ::paddle::framework::proto::VarType_LoDTensorDesc& lod_tensor(int index) const;
  ::paddle::framework::proto::VarType_LoDTensorDesc* mutable_lod_tensor(int index);
  ::paddle::framework::proto::VarType_LoDTensorDesc* add_lod_tensor();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarType_LoDTensorDesc >*
      mutable_lod_tensor();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarType_LoDTensorDesc >&
      lod_tensor() const;

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarType.ReaderDesc)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarType_LoDTensorDesc > lod_tensor_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarType_ReaderDesc> VarType_ReaderDesc_default_instance_;

// -------------------------------------------------------------------

class VarType_Tuple : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarType.Tuple) */ {
 public:
  VarType_Tuple();
  virtual ~VarType_Tuple();

  VarType_Tuple(const VarType_Tuple& from);

  inline VarType_Tuple& operator=(const VarType_Tuple& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarType_Tuple& default_instance();

  static const VarType_Tuple* internal_default_instance();

  void Swap(VarType_Tuple* other);

  // implements Message ----------------------------------------------

  inline VarType_Tuple* New() const { return New(NULL); }

  VarType_Tuple* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarType_Tuple& from);
  void MergeFrom(const VarType_Tuple& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarType_Tuple* other);
  void UnsafeMergeFrom(const VarType_Tuple& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .paddle.framework.proto.VarType.Type element_type = 1;
  int element_type_size() const;
  void clear_element_type();
  static const int kElementTypeFieldNumber = 1;
  ::paddle::framework::proto::VarType_Type element_type(int index) const;
  void set_element_type(int index, ::paddle::framework::proto::VarType_Type value);
  void add_element_type(::paddle::framework::proto::VarType_Type value);
  const ::google::protobuf::RepeatedField<int>& element_type() const;
  ::google::protobuf::RepeatedField<int>* mutable_element_type();

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarType.Tuple)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedField<int> element_type_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarType_Tuple> VarType_Tuple_default_instance_;

// -------------------------------------------------------------------

class VarType : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarType) */ {
 public:
  VarType();
  virtual ~VarType();

  VarType(const VarType& from);

  inline VarType& operator=(const VarType& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarType& default_instance();

  static const VarType* internal_default_instance();

  void Swap(VarType* other);

  // implements Message ----------------------------------------------

  inline VarType* New() const { return New(NULL); }

  VarType* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarType& from);
  void MergeFrom(const VarType& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarType* other);
  void UnsafeMergeFrom(const VarType& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  typedef VarType_TensorDesc TensorDesc;
  typedef VarType_LoDTensorDesc LoDTensorDesc;
  typedef VarType_LoDTensorArrayDesc LoDTensorArrayDesc;
  typedef VarType_ReaderDesc ReaderDesc;
  typedef VarType_Tuple Tuple;

  typedef VarType_Type Type;
  static const Type BOOL =
    VarType_Type_BOOL;
  static const Type INT16 =
    VarType_Type_INT16;
  static const Type INT32 =
    VarType_Type_INT32;
  static const Type INT64 =
    VarType_Type_INT64;
  static const Type FP16 =
    VarType_Type_FP16;
  static const Type FP32 =
    VarType_Type_FP32;
  static const Type FP64 =
    VarType_Type_FP64;
  static const Type SIZE_T =
    VarType_Type_SIZE_T;
  static const Type UINT8 =
    VarType_Type_UINT8;
  static const Type INT8 =
    VarType_Type_INT8;
  static const Type BF16 =
    VarType_Type_BF16;
  static const Type COMPLEX64 =
    VarType_Type_COMPLEX64;
  static const Type COMPLEX128 =
    VarType_Type_COMPLEX128;
  static const Type LOD_TENSOR =
    VarType_Type_LOD_TENSOR;
  static const Type SELECTED_ROWS =
    VarType_Type_SELECTED_ROWS;
  static const Type FEED_MINIBATCH =
    VarType_Type_FEED_MINIBATCH;
  static const Type FETCH_LIST =
    VarType_Type_FETCH_LIST;
  static const Type STEP_SCOPES =
    VarType_Type_STEP_SCOPES;
  static const Type LOD_RANK_TABLE =
    VarType_Type_LOD_RANK_TABLE;
  static const Type LOD_TENSOR_ARRAY =
    VarType_Type_LOD_TENSOR_ARRAY;
  static const Type PLACE_LIST =
    VarType_Type_PLACE_LIST;
  static const Type READER =
    VarType_Type_READER;
  static const Type RAW =
    VarType_Type_RAW;
  static const Type TUPLE =
    VarType_Type_TUPLE;
  static inline bool Type_IsValid(int value) {
    return VarType_Type_IsValid(value);
  }
  static const Type Type_MIN =
    VarType_Type_Type_MIN;
  static const Type Type_MAX =
    VarType_Type_Type_MAX;
  static const int Type_ARRAYSIZE =
    VarType_Type_Type_ARRAYSIZE;
  static inline const ::google::protobuf::EnumDescriptor*
  Type_descriptor() {
    return VarType_Type_descriptor();
  }
  static inline const ::std::string& Type_Name(Type value) {
    return VarType_Type_Name(value);
  }
  static inline bool Type_Parse(const ::std::string& name,
      Type* value) {
    return VarType_Type_Parse(name, value);
  }

  // accessors -------------------------------------------------------

  // required .paddle.framework.proto.VarType.Type type = 1;
  bool has_type() const;
  void clear_type();
  static const int kTypeFieldNumber = 1;
  ::paddle::framework::proto::VarType_Type type() const;
  void set_type(::paddle::framework::proto::VarType_Type value);

  // optional .paddle.framework.proto.VarType.TensorDesc selected_rows = 2;
  bool has_selected_rows() const;
  void clear_selected_rows();
  static const int kSelectedRowsFieldNumber = 2;
  const ::paddle::framework::proto::VarType_TensorDesc& selected_rows() const;
  ::paddle::framework::proto::VarType_TensorDesc* mutable_selected_rows();
  ::paddle::framework::proto::VarType_TensorDesc* release_selected_rows();
  void set_allocated_selected_rows(::paddle::framework::proto::VarType_TensorDesc* selected_rows);

  // optional .paddle.framework.proto.VarType.LoDTensorDesc lod_tensor = 3;
  bool has_lod_tensor() const;
  void clear_lod_tensor();
  static const int kLodTensorFieldNumber = 3;
  const ::paddle::framework::proto::VarType_LoDTensorDesc& lod_tensor() const;
  ::paddle::framework::proto::VarType_LoDTensorDesc* mutable_lod_tensor();
  ::paddle::framework::proto::VarType_LoDTensorDesc* release_lod_tensor();
  void set_allocated_lod_tensor(::paddle::framework::proto::VarType_LoDTensorDesc* lod_tensor);

  // optional .paddle.framework.proto.VarType.LoDTensorArrayDesc tensor_array = 4;
  bool has_tensor_array() const;
  void clear_tensor_array();
  static const int kTensorArrayFieldNumber = 4;
  const ::paddle::framework::proto::VarType_LoDTensorArrayDesc& tensor_array() const;
  ::paddle::framework::proto::VarType_LoDTensorArrayDesc* mutable_tensor_array();
  ::paddle::framework::proto::VarType_LoDTensorArrayDesc* release_tensor_array();
  void set_allocated_tensor_array(::paddle::framework::proto::VarType_LoDTensorArrayDesc* tensor_array);

  // optional .paddle.framework.proto.VarType.ReaderDesc reader = 5;
  bool has_reader() const;
  void clear_reader();
  static const int kReaderFieldNumber = 5;
  const ::paddle::framework::proto::VarType_ReaderDesc& reader() const;
  ::paddle::framework::proto::VarType_ReaderDesc* mutable_reader();
  ::paddle::framework::proto::VarType_ReaderDesc* release_reader();
  void set_allocated_reader(::paddle::framework::proto::VarType_ReaderDesc* reader);

  // optional .paddle.framework.proto.VarType.Tuple tuple = 7;
  bool has_tuple() const;
  void clear_tuple();
  static const int kTupleFieldNumber = 7;
  const ::paddle::framework::proto::VarType_Tuple& tuple() const;
  ::paddle::framework::proto::VarType_Tuple* mutable_tuple();
  ::paddle::framework::proto::VarType_Tuple* release_tuple();
  void set_allocated_tuple(::paddle::framework::proto::VarType_Tuple* tuple);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarType)
 private:
  inline void set_has_type();
  inline void clear_has_type();
  inline void set_has_selected_rows();
  inline void clear_has_selected_rows();
  inline void set_has_lod_tensor();
  inline void clear_has_lod_tensor();
  inline void set_has_tensor_array();
  inline void clear_has_tensor_array();
  inline void set_has_reader();
  inline void clear_has_reader();
  inline void set_has_tuple();
  inline void clear_has_tuple();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::paddle::framework::proto::VarType_TensorDesc* selected_rows_;
  ::paddle::framework::proto::VarType_LoDTensorDesc* lod_tensor_;
  ::paddle::framework::proto::VarType_LoDTensorArrayDesc* tensor_array_;
  ::paddle::framework::proto::VarType_ReaderDesc* reader_;
  ::paddle::framework::proto::VarType_Tuple* tuple_;
  int type_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarType> VarType_default_instance_;

// -------------------------------------------------------------------

class VarDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.VarDesc) */ {
 public:
  VarDesc();
  virtual ~VarDesc();

  VarDesc(const VarDesc& from);

  inline VarDesc& operator=(const VarDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const VarDesc& default_instance();

  static const VarDesc* internal_default_instance();

  void Swap(VarDesc* other);

  // implements Message ----------------------------------------------

  inline VarDesc* New() const { return New(NULL); }

  VarDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const VarDesc& from);
  void MergeFrom(const VarDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(VarDesc* other);
  void UnsafeMergeFrom(const VarDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required string name = 1;
  bool has_name() const;
  void clear_name();
  static const int kNameFieldNumber = 1;
  const ::std::string& name() const;
  void set_name(const ::std::string& value);
  void set_name(const char* value);
  void set_name(const char* value, size_t size);
  ::std::string* mutable_name();
  ::std::string* release_name();
  void set_allocated_name(::std::string* name);

  // required .paddle.framework.proto.VarType type = 2;
  bool has_type() const;
  void clear_type();
  static const int kTypeFieldNumber = 2;
  const ::paddle::framework::proto::VarType& type() const;
  ::paddle::framework::proto::VarType* mutable_type();
  ::paddle::framework::proto::VarType* release_type();
  void set_allocated_type(::paddle::framework::proto::VarType* type);

  // optional bool persistable = 3 [default = false];
  bool has_persistable() const;
  void clear_persistable();
  static const int kPersistableFieldNumber = 3;
  bool persistable() const;
  void set_persistable(bool value);

  // optional bool need_check_feed = 4 [default = false];
  bool has_need_check_feed() const;
  void clear_need_check_feed();
  static const int kNeedCheckFeedFieldNumber = 4;
  bool need_check_feed() const;
  void set_need_check_feed(bool value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.VarDesc)
 private:
  inline void set_has_name();
  inline void clear_has_name();
  inline void set_has_type();
  inline void clear_has_type();
  inline void set_has_persistable();
  inline void clear_has_persistable();
  inline void set_has_need_check_feed();
  inline void clear_has_need_check_feed();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::internal::ArenaStringPtr name_;
  ::paddle::framework::proto::VarType* type_;
  bool persistable_;
  bool need_check_feed_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<VarDesc> VarDesc_default_instance_;

// -------------------------------------------------------------------

class BlockDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.BlockDesc) */ {
 public:
  BlockDesc();
  virtual ~BlockDesc();

  BlockDesc(const BlockDesc& from);

  inline BlockDesc& operator=(const BlockDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const BlockDesc& default_instance();

  static const BlockDesc* internal_default_instance();

  void Swap(BlockDesc* other);

  // implements Message ----------------------------------------------

  inline BlockDesc* New() const { return New(NULL); }

  BlockDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const BlockDesc& from);
  void MergeFrom(const BlockDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(BlockDesc* other);
  void UnsafeMergeFrom(const BlockDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required int32 idx = 1;
  bool has_idx() const;
  void clear_idx();
  static const int kIdxFieldNumber = 1;
  ::google::protobuf::int32 idx() const;
  void set_idx(::google::protobuf::int32 value);

  // required int32 parent_idx = 2;
  bool has_parent_idx() const;
  void clear_parent_idx();
  static const int kParentIdxFieldNumber = 2;
  ::google::protobuf::int32 parent_idx() const;
  void set_parent_idx(::google::protobuf::int32 value);

  // repeated .paddle.framework.proto.VarDesc vars = 3;
  int vars_size() const;
  void clear_vars();
  static const int kVarsFieldNumber = 3;
  const ::paddle::framework::proto::VarDesc& vars(int index) const;
  ::paddle::framework::proto::VarDesc* mutable_vars(int index);
  ::paddle::framework::proto::VarDesc* add_vars();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarDesc >*
      mutable_vars();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarDesc >&
      vars() const;

  // repeated .paddle.framework.proto.OpDesc ops = 4;
  int ops_size() const;
  void clear_ops();
  static const int kOpsFieldNumber = 4;
  const ::paddle::framework::proto::OpDesc& ops(int index) const;
  ::paddle::framework::proto::OpDesc* mutable_ops(int index);
  ::paddle::framework::proto::OpDesc* add_ops();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc >*
      mutable_ops();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc >&
      ops() const;

  // optional int32 forward_block_idx = 5 [default = -1];
  bool has_forward_block_idx() const;
  void clear_forward_block_idx();
  static const int kForwardBlockIdxFieldNumber = 5;
  ::google::protobuf::int32 forward_block_idx() const;
  void set_forward_block_idx(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.BlockDesc)
 private:
  inline void set_has_idx();
  inline void clear_has_idx();
  inline void set_has_parent_idx();
  inline void clear_has_parent_idx();
  inline void set_has_forward_block_idx();
  inline void clear_has_forward_block_idx();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarDesc > vars_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc > ops_;
  ::google::protobuf::int32 idx_;
  ::google::protobuf::int32 parent_idx_;
  ::google::protobuf::int32 forward_block_idx_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<BlockDesc> BlockDesc_default_instance_;

// -------------------------------------------------------------------

class OpVersion : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpVersion) */ {
 public:
  OpVersion();
  virtual ~OpVersion();

  OpVersion(const OpVersion& from);

  inline OpVersion& operator=(const OpVersion& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpVersion& default_instance();

  static const OpVersion* internal_default_instance();

  void Swap(OpVersion* other);

  // implements Message ----------------------------------------------

  inline OpVersion* New() const { return New(NULL); }

  OpVersion* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpVersion& from);
  void MergeFrom(const OpVersion& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpVersion* other);
  void UnsafeMergeFrom(const OpVersion& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required int32 version = 1;
  bool has_version() const;
  void clear_version();
  static const int kVersionFieldNumber = 1;
  ::google::protobuf::int32 version() const;
  void set_version(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpVersion)
 private:
  inline void set_has_version();
  inline void clear_has_version();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::int32 version_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpVersion> OpVersion_default_instance_;

// -------------------------------------------------------------------

class OpVersionMap_OpVersionPair : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpVersionMap.OpVersionPair) */ {
 public:
  OpVersionMap_OpVersionPair();
  virtual ~OpVersionMap_OpVersionPair();

  OpVersionMap_OpVersionPair(const OpVersionMap_OpVersionPair& from);

  inline OpVersionMap_OpVersionPair& operator=(const OpVersionMap_OpVersionPair& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpVersionMap_OpVersionPair& default_instance();

  static const OpVersionMap_OpVersionPair* internal_default_instance();

  void Swap(OpVersionMap_OpVersionPair* other);

  // implements Message ----------------------------------------------

  inline OpVersionMap_OpVersionPair* New() const { return New(NULL); }

  OpVersionMap_OpVersionPair* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpVersionMap_OpVersionPair& from);
  void MergeFrom(const OpVersionMap_OpVersionPair& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpVersionMap_OpVersionPair* other);
  void UnsafeMergeFrom(const OpVersionMap_OpVersionPair& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required string op_name = 1;
  bool has_op_name() const;
  void clear_op_name();
  static const int kOpNameFieldNumber = 1;
  const ::std::string& op_name() const;
  void set_op_name(const ::std::string& value);
  void set_op_name(const char* value);
  void set_op_name(const char* value, size_t size);
  ::std::string* mutable_op_name();
  ::std::string* release_op_name();
  void set_allocated_op_name(::std::string* op_name);

  // required .paddle.framework.proto.OpVersion op_version = 2;
  bool has_op_version() const;
  void clear_op_version();
  static const int kOpVersionFieldNumber = 2;
  const ::paddle::framework::proto::OpVersion& op_version() const;
  ::paddle::framework::proto::OpVersion* mutable_op_version();
  ::paddle::framework::proto::OpVersion* release_op_version();
  void set_allocated_op_version(::paddle::framework::proto::OpVersion* op_version);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpVersionMap.OpVersionPair)
 private:
  inline void set_has_op_name();
  inline void clear_has_op_name();
  inline void set_has_op_version();
  inline void clear_has_op_version();

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::internal::ArenaStringPtr op_name_;
  ::paddle::framework::proto::OpVersion* op_version_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpVersionMap_OpVersionPair> OpVersionMap_OpVersionPair_default_instance_;

// -------------------------------------------------------------------

class OpVersionMap : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.OpVersionMap) */ {
 public:
  OpVersionMap();
  virtual ~OpVersionMap();

  OpVersionMap(const OpVersionMap& from);

  inline OpVersionMap& operator=(const OpVersionMap& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const OpVersionMap& default_instance();

  static const OpVersionMap* internal_default_instance();

  void Swap(OpVersionMap* other);

  // implements Message ----------------------------------------------

  inline OpVersionMap* New() const { return New(NULL); }

  OpVersionMap* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const OpVersionMap& from);
  void MergeFrom(const OpVersionMap& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(OpVersionMap* other);
  void UnsafeMergeFrom(const OpVersionMap& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  typedef OpVersionMap_OpVersionPair OpVersionPair;

  // accessors -------------------------------------------------------

  // repeated .paddle.framework.proto.OpVersionMap.OpVersionPair pair = 1;
  int pair_size() const;
  void clear_pair();
  static const int kPairFieldNumber = 1;
  const ::paddle::framework::proto::OpVersionMap_OpVersionPair& pair(int index) const;
  ::paddle::framework::proto::OpVersionMap_OpVersionPair* mutable_pair(int index);
  ::paddle::framework::proto::OpVersionMap_OpVersionPair* add_pair();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpVersionMap_OpVersionPair >*
      mutable_pair();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpVersionMap_OpVersionPair >&
      pair() const;

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.OpVersionMap)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpVersionMap_OpVersionPair > pair_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<OpVersionMap> OpVersionMap_default_instance_;

// -------------------------------------------------------------------

class ProgramDesc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:paddle.framework.proto.ProgramDesc) */ {
 public:
  ProgramDesc();
  virtual ~ProgramDesc();

  ProgramDesc(const ProgramDesc& from);

  inline ProgramDesc& operator=(const ProgramDesc& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const ProgramDesc& default_instance();

  static const ProgramDesc* internal_default_instance();

  void Swap(ProgramDesc* other);

  // implements Message ----------------------------------------------

  inline ProgramDesc* New() const { return New(NULL); }

  ProgramDesc* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const ProgramDesc& from);
  void MergeFrom(const ProgramDesc& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(ProgramDesc* other);
  void UnsafeMergeFrom(const ProgramDesc& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .paddle.framework.proto.BlockDesc blocks = 1;
  int blocks_size() const;
  void clear_blocks();
  static const int kBlocksFieldNumber = 1;
  const ::paddle::framework::proto::BlockDesc& blocks(int index) const;
  ::paddle::framework::proto::BlockDesc* mutable_blocks(int index);
  ::paddle::framework::proto::BlockDesc* add_blocks();
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::BlockDesc >*
      mutable_blocks();
  const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::BlockDesc >&
      blocks() const;

  // optional .paddle.framework.proto.Version version = 4;
  bool has_version() const;
  void clear_version();
  static const int kVersionFieldNumber = 4;
  const ::paddle::framework::proto::Version& version() const;
  ::paddle::framework::proto::Version* mutable_version();
  ::paddle::framework::proto::Version* release_version();
  void set_allocated_version(::paddle::framework::proto::Version* version);

  // optional .paddle.framework.proto.OpVersionMap op_version_map = 5;
  bool has_op_version_map() const;
  void clear_op_version_map();
  static const int kOpVersionMapFieldNumber = 5;
  const ::paddle::framework::proto::OpVersionMap& op_version_map() const;
  ::paddle::framework::proto::OpVersionMap* mutable_op_version_map();
  ::paddle::framework::proto::OpVersionMap* release_op_version_map();
  void set_allocated_op_version_map(::paddle::framework::proto::OpVersionMap* op_version_map);

  // @@protoc_insertion_point(class_scope:paddle.framework.proto.ProgramDesc)
 private:
  inline void set_has_version();
  inline void clear_has_version();
  inline void set_has_op_version_map();
  inline void clear_has_op_version_map();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::BlockDesc > blocks_;
  ::paddle::framework::proto::Version* version_;
  ::paddle::framework::proto::OpVersionMap* op_version_map_;
  friend void  protobuf_InitDefaults_framework_2eproto_impl();
  friend void  protobuf_AddDesc_framework_2eproto_impl();
  friend void protobuf_AssignDesc_framework_2eproto();
  friend void protobuf_ShutdownFile_framework_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<ProgramDesc> ProgramDesc_default_instance_;

// ===================================================================


// ===================================================================

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// Version

// optional int64 version = 1 [default = 0];
inline bool Version::has_version() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Version::set_has_version() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Version::clear_has_version() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Version::clear_version() {
  version_ = GOOGLE_LONGLONG(0);
  clear_has_version();
}
inline ::google::protobuf::int64 Version::version() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.Version.version)
  return version_;
}
inline void Version::set_version(::google::protobuf::int64 value) {
  set_has_version();
  version_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.Version.version)
}

inline const Version* Version::internal_default_instance() {
  return &Version_default_instance_.get();
}
// -------------------------------------------------------------------

// OpDesc_Attr

// required string name = 1;
inline bool OpDesc_Attr::has_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpDesc_Attr::set_has_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpDesc_Attr::clear_has_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpDesc_Attr::clear_name() {
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_name();
}
inline const ::std::string& OpDesc_Attr::name() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.name)
  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc_Attr::set_name(const ::std::string& value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.name)
}
inline void OpDesc_Attr::set_name(const char* value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpDesc.Attr.name)
}
inline void OpDesc_Attr::set_name(const char* value, size_t size) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpDesc.Attr.name)
}
inline ::std::string* OpDesc_Attr::mutable_name() {
  set_has_name();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.Attr.name)
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpDesc_Attr::release_name() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpDesc.Attr.name)
  clear_has_name();
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc_Attr::set_allocated_name(::std::string* name) {
  if (name != NULL) {
    set_has_name();
  } else {
    clear_has_name();
  }
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpDesc.Attr.name)
}

// required .paddle.framework.proto.AttrType type = 2;
inline bool OpDesc_Attr::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void OpDesc_Attr::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void OpDesc_Attr::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void OpDesc_Attr::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::paddle::framework::proto::AttrType OpDesc_Attr::type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.type)
  return static_cast< ::paddle::framework::proto::AttrType >(type_);
}
inline void OpDesc_Attr::set_type(::paddle::framework::proto::AttrType value) {
  assert(::paddle::framework::proto::AttrType_IsValid(value));
  set_has_type();
  type_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.type)
}

// optional int32 i = 3;
inline bool OpDesc_Attr::has_i() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void OpDesc_Attr::set_has_i() {
  _has_bits_[0] |= 0x00000004u;
}
inline void OpDesc_Attr::clear_has_i() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void OpDesc_Attr::clear_i() {
  i_ = 0;
  clear_has_i();
}
inline ::google::protobuf::int32 OpDesc_Attr::i() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.i)
  return i_;
}
inline void OpDesc_Attr::set_i(::google::protobuf::int32 value) {
  set_has_i();
  i_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.i)
}

// optional float f = 4;
inline bool OpDesc_Attr::has_f() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void OpDesc_Attr::set_has_f() {
  _has_bits_[0] |= 0x00000008u;
}
inline void OpDesc_Attr::clear_has_f() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void OpDesc_Attr::clear_f() {
  f_ = 0;
  clear_has_f();
}
inline float OpDesc_Attr::f() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.f)
  return f_;
}
inline void OpDesc_Attr::set_f(float value) {
  set_has_f();
  f_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.f)
}

// optional string s = 5;
inline bool OpDesc_Attr::has_s() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void OpDesc_Attr::set_has_s() {
  _has_bits_[0] |= 0x00000010u;
}
inline void OpDesc_Attr::clear_has_s() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void OpDesc_Attr::clear_s() {
  s_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_s();
}
inline const ::std::string& OpDesc_Attr::s() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.s)
  return s_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc_Attr::set_s(const ::std::string& value) {
  set_has_s();
  s_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.s)
}
inline void OpDesc_Attr::set_s(const char* value) {
  set_has_s();
  s_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpDesc.Attr.s)
}
inline void OpDesc_Attr::set_s(const char* value, size_t size) {
  set_has_s();
  s_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpDesc.Attr.s)
}
inline ::std::string* OpDesc_Attr::mutable_s() {
  set_has_s();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.Attr.s)
  return s_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpDesc_Attr::release_s() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpDesc.Attr.s)
  clear_has_s();
  return s_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc_Attr::set_allocated_s(::std::string* s) {
  if (s != NULL) {
    set_has_s();
  } else {
    clear_has_s();
  }
  s_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), s);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpDesc.Attr.s)
}

// repeated int32 ints = 6;
inline int OpDesc_Attr::ints_size() const {
  return ints_.size();
}
inline void OpDesc_Attr::clear_ints() {
  ints_.Clear();
}
inline ::google::protobuf::int32 OpDesc_Attr::ints(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.ints)
  return ints_.Get(index);
}
inline void OpDesc_Attr::set_ints(int index, ::google::protobuf::int32 value) {
  ints_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.ints)
}
inline void OpDesc_Attr::add_ints(::google::protobuf::int32 value) {
  ints_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.ints)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
OpDesc_Attr::ints() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.ints)
  return ints_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
OpDesc_Attr::mutable_ints() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.ints)
  return &ints_;
}

// repeated float floats = 7;
inline int OpDesc_Attr::floats_size() const {
  return floats_.size();
}
inline void OpDesc_Attr::clear_floats() {
  floats_.Clear();
}
inline float OpDesc_Attr::floats(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.floats)
  return floats_.Get(index);
}
inline void OpDesc_Attr::set_floats(int index, float value) {
  floats_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.floats)
}
inline void OpDesc_Attr::add_floats(float value) {
  floats_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.floats)
}
inline const ::google::protobuf::RepeatedField< float >&
OpDesc_Attr::floats() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.floats)
  return floats_;
}
inline ::google::protobuf::RepeatedField< float >*
OpDesc_Attr::mutable_floats() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.floats)
  return &floats_;
}

// repeated string strings = 8;
inline int OpDesc_Attr::strings_size() const {
  return strings_.size();
}
inline void OpDesc_Attr::clear_strings() {
  strings_.Clear();
}
inline const ::std::string& OpDesc_Attr::strings(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.strings)
  return strings_.Get(index);
}
inline ::std::string* OpDesc_Attr::mutable_strings(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.Attr.strings)
  return strings_.Mutable(index);
}
inline void OpDesc_Attr::set_strings(int index, const ::std::string& value) {
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.strings)
  strings_.Mutable(index)->assign(value);
}
inline void OpDesc_Attr::set_strings(int index, const char* value) {
  strings_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpDesc.Attr.strings)
}
inline void OpDesc_Attr::set_strings(int index, const char* value, size_t size) {
  strings_.Mutable(index)->assign(
    reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpDesc.Attr.strings)
}
inline ::std::string* OpDesc_Attr::add_strings() {
  // @@protoc_insertion_point(field_add_mutable:paddle.framework.proto.OpDesc.Attr.strings)
  return strings_.Add();
}
inline void OpDesc_Attr::add_strings(const ::std::string& value) {
  strings_.Add()->assign(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.strings)
}
inline void OpDesc_Attr::add_strings(const char* value) {
  strings_.Add()->assign(value);
  // @@protoc_insertion_point(field_add_char:paddle.framework.proto.OpDesc.Attr.strings)
}
inline void OpDesc_Attr::add_strings(const char* value, size_t size) {
  strings_.Add()->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_add_pointer:paddle.framework.proto.OpDesc.Attr.strings)
}
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
OpDesc_Attr::strings() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.strings)
  return strings_;
}
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
OpDesc_Attr::mutable_strings() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.strings)
  return &strings_;
}

// optional bool b = 10;
inline bool OpDesc_Attr::has_b() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void OpDesc_Attr::set_has_b() {
  _has_bits_[0] |= 0x00000100u;
}
inline void OpDesc_Attr::clear_has_b() {
  _has_bits_[0] &= ~0x00000100u;
}
inline void OpDesc_Attr::clear_b() {
  b_ = false;
  clear_has_b();
}
inline bool OpDesc_Attr::b() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.b)
  return b_;
}
inline void OpDesc_Attr::set_b(bool value) {
  set_has_b();
  b_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.b)
}

// repeated bool bools = 11;
inline int OpDesc_Attr::bools_size() const {
  return bools_.size();
}
inline void OpDesc_Attr::clear_bools() {
  bools_.Clear();
}
inline bool OpDesc_Attr::bools(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.bools)
  return bools_.Get(index);
}
inline void OpDesc_Attr::set_bools(int index, bool value) {
  bools_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.bools)
}
inline void OpDesc_Attr::add_bools(bool value) {
  bools_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.bools)
}
inline const ::google::protobuf::RepeatedField< bool >&
OpDesc_Attr::bools() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.bools)
  return bools_;
}
inline ::google::protobuf::RepeatedField< bool >*
OpDesc_Attr::mutable_bools() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.bools)
  return &bools_;
}

// optional int32 block_idx = 12;
inline bool OpDesc_Attr::has_block_idx() const {
  return (_has_bits_[0] & 0x00000400u) != 0;
}
inline void OpDesc_Attr::set_has_block_idx() {
  _has_bits_[0] |= 0x00000400u;
}
inline void OpDesc_Attr::clear_has_block_idx() {
  _has_bits_[0] &= ~0x00000400u;
}
inline void OpDesc_Attr::clear_block_idx() {
  block_idx_ = 0;
  clear_has_block_idx();
}
inline ::google::protobuf::int32 OpDesc_Attr::block_idx() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.block_idx)
  return block_idx_;
}
inline void OpDesc_Attr::set_block_idx(::google::protobuf::int32 value) {
  set_has_block_idx();
  block_idx_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.block_idx)
}

// optional int64 l = 13;
inline bool OpDesc_Attr::has_l() const {
  return (_has_bits_[0] & 0x00000800u) != 0;
}
inline void OpDesc_Attr::set_has_l() {
  _has_bits_[0] |= 0x00000800u;
}
inline void OpDesc_Attr::clear_has_l() {
  _has_bits_[0] &= ~0x00000800u;
}
inline void OpDesc_Attr::clear_l() {
  l_ = GOOGLE_LONGLONG(0);
  clear_has_l();
}
inline ::google::protobuf::int64 OpDesc_Attr::l() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.l)
  return l_;
}
inline void OpDesc_Attr::set_l(::google::protobuf::int64 value) {
  set_has_l();
  l_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.l)
}

// repeated int32 blocks_idx = 14;
inline int OpDesc_Attr::blocks_idx_size() const {
  return blocks_idx_.size();
}
inline void OpDesc_Attr::clear_blocks_idx() {
  blocks_idx_.Clear();
}
inline ::google::protobuf::int32 OpDesc_Attr::blocks_idx(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.blocks_idx)
  return blocks_idx_.Get(index);
}
inline void OpDesc_Attr::set_blocks_idx(int index, ::google::protobuf::int32 value) {
  blocks_idx_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.blocks_idx)
}
inline void OpDesc_Attr::add_blocks_idx(::google::protobuf::int32 value) {
  blocks_idx_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.blocks_idx)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
OpDesc_Attr::blocks_idx() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.blocks_idx)
  return blocks_idx_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
OpDesc_Attr::mutable_blocks_idx() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.blocks_idx)
  return &blocks_idx_;
}

// repeated int64 longs = 15;
inline int OpDesc_Attr::longs_size() const {
  return longs_.size();
}
inline void OpDesc_Attr::clear_longs() {
  longs_.Clear();
}
inline ::google::protobuf::int64 OpDesc_Attr::longs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.longs)
  return longs_.Get(index);
}
inline void OpDesc_Attr::set_longs(int index, ::google::protobuf::int64 value) {
  longs_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.longs)
}
inline void OpDesc_Attr::add_longs(::google::protobuf::int64 value) {
  longs_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.longs)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
OpDesc_Attr::longs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.longs)
  return longs_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
OpDesc_Attr::mutable_longs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.longs)
  return &longs_;
}

// repeated double float64s = 16;
inline int OpDesc_Attr::float64s_size() const {
  return float64s_.size();
}
inline void OpDesc_Attr::clear_float64s() {
  float64s_.Clear();
}
inline double OpDesc_Attr::float64s(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Attr.float64s)
  return float64s_.Get(index);
}
inline void OpDesc_Attr::set_float64s(int index, double value) {
  float64s_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Attr.float64s)
}
inline void OpDesc_Attr::add_float64s(double value) {
  float64s_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Attr.float64s)
}
inline const ::google::protobuf::RepeatedField< double >&
OpDesc_Attr::float64s() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Attr.float64s)
  return float64s_;
}
inline ::google::protobuf::RepeatedField< double >*
OpDesc_Attr::mutable_float64s() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Attr.float64s)
  return &float64s_;
}

inline const OpDesc_Attr* OpDesc_Attr::internal_default_instance() {
  return &OpDesc_Attr_default_instance_.get();
}
// -------------------------------------------------------------------

// OpDesc_Var

// required string parameter = 1;
inline bool OpDesc_Var::has_parameter() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpDesc_Var::set_has_parameter() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpDesc_Var::clear_has_parameter() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpDesc_Var::clear_parameter() {
  parameter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_parameter();
}
inline const ::std::string& OpDesc_Var::parameter() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Var.parameter)
  return parameter_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc_Var::set_parameter(const ::std::string& value) {
  set_has_parameter();
  parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Var.parameter)
}
inline void OpDesc_Var::set_parameter(const char* value) {
  set_has_parameter();
  parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpDesc.Var.parameter)
}
inline void OpDesc_Var::set_parameter(const char* value, size_t size) {
  set_has_parameter();
  parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpDesc.Var.parameter)
}
inline ::std::string* OpDesc_Var::mutable_parameter() {
  set_has_parameter();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.Var.parameter)
  return parameter_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpDesc_Var::release_parameter() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpDesc.Var.parameter)
  clear_has_parameter();
  return parameter_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc_Var::set_allocated_parameter(::std::string* parameter) {
  if (parameter != NULL) {
    set_has_parameter();
  } else {
    clear_has_parameter();
  }
  parameter_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parameter);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpDesc.Var.parameter)
}

// repeated string arguments = 2;
inline int OpDesc_Var::arguments_size() const {
  return arguments_.size();
}
inline void OpDesc_Var::clear_arguments() {
  arguments_.Clear();
}
inline const ::std::string& OpDesc_Var::arguments(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.Var.arguments)
  return arguments_.Get(index);
}
inline ::std::string* OpDesc_Var::mutable_arguments(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.Var.arguments)
  return arguments_.Mutable(index);
}
inline void OpDesc_Var::set_arguments(int index, const ::std::string& value) {
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.Var.arguments)
  arguments_.Mutable(index)->assign(value);
}
inline void OpDesc_Var::set_arguments(int index, const char* value) {
  arguments_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpDesc.Var.arguments)
}
inline void OpDesc_Var::set_arguments(int index, const char* value, size_t size) {
  arguments_.Mutable(index)->assign(
    reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpDesc.Var.arguments)
}
inline ::std::string* OpDesc_Var::add_arguments() {
  // @@protoc_insertion_point(field_add_mutable:paddle.framework.proto.OpDesc.Var.arguments)
  return arguments_.Add();
}
inline void OpDesc_Var::add_arguments(const ::std::string& value) {
  arguments_.Add()->assign(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.Var.arguments)
}
inline void OpDesc_Var::add_arguments(const char* value) {
  arguments_.Add()->assign(value);
  // @@protoc_insertion_point(field_add_char:paddle.framework.proto.OpDesc.Var.arguments)
}
inline void OpDesc_Var::add_arguments(const char* value, size_t size) {
  arguments_.Add()->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_add_pointer:paddle.framework.proto.OpDesc.Var.arguments)
}
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
OpDesc_Var::arguments() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.Var.arguments)
  return arguments_;
}
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
OpDesc_Var::mutable_arguments() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.Var.arguments)
  return &arguments_;
}

inline const OpDesc_Var* OpDesc_Var::internal_default_instance() {
  return &OpDesc_Var_default_instance_.get();
}
// -------------------------------------------------------------------

// OpDesc

// required string type = 3;
inline bool OpDesc::has_type() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpDesc::set_has_type() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpDesc::clear_has_type() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpDesc::clear_type() {
  type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_type();
}
inline const ::std::string& OpDesc::type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.type)
  return type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc::set_type(const ::std::string& value) {
  set_has_type();
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.type)
}
inline void OpDesc::set_type(const char* value) {
  set_has_type();
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpDesc.type)
}
inline void OpDesc::set_type(const char* value, size_t size) {
  set_has_type();
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpDesc.type)
}
inline ::std::string* OpDesc::mutable_type() {
  set_has_type();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.type)
  return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpDesc::release_type() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpDesc.type)
  clear_has_type();
  return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpDesc::set_allocated_type(::std::string* type) {
  if (type != NULL) {
    set_has_type();
  } else {
    clear_has_type();
  }
  type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpDesc.type)
}

// repeated .paddle.framework.proto.OpDesc.Var inputs = 1;
inline int OpDesc::inputs_size() const {
  return inputs_.size();
}
inline void OpDesc::clear_inputs() {
  inputs_.Clear();
}
inline const ::paddle::framework::proto::OpDesc_Var& OpDesc::inputs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.inputs)
  return inputs_.Get(index);
}
inline ::paddle::framework::proto::OpDesc_Var* OpDesc::mutable_inputs(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.inputs)
  return inputs_.Mutable(index);
}
inline ::paddle::framework::proto::OpDesc_Var* OpDesc::add_inputs() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.inputs)
  return inputs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >*
OpDesc::mutable_inputs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.inputs)
  return &inputs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >&
OpDesc::inputs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.inputs)
  return inputs_;
}

// repeated .paddle.framework.proto.OpDesc.Var outputs = 2;
inline int OpDesc::outputs_size() const {
  return outputs_.size();
}
inline void OpDesc::clear_outputs() {
  outputs_.Clear();
}
inline const ::paddle::framework::proto::OpDesc_Var& OpDesc::outputs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.outputs)
  return outputs_.Get(index);
}
inline ::paddle::framework::proto::OpDesc_Var* OpDesc::mutable_outputs(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.outputs)
  return outputs_.Mutable(index);
}
inline ::paddle::framework::proto::OpDesc_Var* OpDesc::add_outputs() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.outputs)
  return outputs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >*
OpDesc::mutable_outputs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.outputs)
  return &outputs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Var >&
OpDesc::outputs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.outputs)
  return outputs_;
}

// repeated .paddle.framework.proto.OpDesc.Attr attrs = 4;
inline int OpDesc::attrs_size() const {
  return attrs_.size();
}
inline void OpDesc::clear_attrs() {
  attrs_.Clear();
}
inline const ::paddle::framework::proto::OpDesc_Attr& OpDesc::attrs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.attrs)
  return attrs_.Get(index);
}
inline ::paddle::framework::proto::OpDesc_Attr* OpDesc::mutable_attrs(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpDesc.attrs)
  return attrs_.Mutable(index);
}
inline ::paddle::framework::proto::OpDesc_Attr* OpDesc::add_attrs() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpDesc.attrs)
  return attrs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Attr >*
OpDesc::mutable_attrs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpDesc.attrs)
  return &attrs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc_Attr >&
OpDesc::attrs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpDesc.attrs)
  return attrs_;
}

// optional bool is_target = 5 [default = false];
inline bool OpDesc::has_is_target() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void OpDesc::set_has_is_target() {
  _has_bits_[0] |= 0x00000010u;
}
inline void OpDesc::clear_has_is_target() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void OpDesc::clear_is_target() {
  is_target_ = false;
  clear_has_is_target();
}
inline bool OpDesc::is_target() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpDesc.is_target)
  return is_target_;
}
inline void OpDesc::set_is_target(bool value) {
  set_has_is_target();
  is_target_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpDesc.is_target)
}

inline const OpDesc* OpDesc::internal_default_instance() {
  return &OpDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// OpProto_Var

// required string name = 1;
inline bool OpProto_Var::has_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpProto_Var::set_has_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpProto_Var::clear_has_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpProto_Var::clear_name() {
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_name();
}
inline const ::std::string& OpProto_Var::name() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Var.name)
  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Var::set_name(const ::std::string& value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Var.name)
}
inline void OpProto_Var::set_name(const char* value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpProto.Var.name)
}
inline void OpProto_Var::set_name(const char* value, size_t size) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpProto.Var.name)
}
inline ::std::string* OpProto_Var::mutable_name() {
  set_has_name();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.Var.name)
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpProto_Var::release_name() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpProto.Var.name)
  clear_has_name();
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Var::set_allocated_name(::std::string* name) {
  if (name != NULL) {
    set_has_name();
  } else {
    clear_has_name();
  }
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpProto.Var.name)
}

// required string comment = 2;
inline bool OpProto_Var::has_comment() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void OpProto_Var::set_has_comment() {
  _has_bits_[0] |= 0x00000002u;
}
inline void OpProto_Var::clear_has_comment() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void OpProto_Var::clear_comment() {
  comment_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_comment();
}
inline const ::std::string& OpProto_Var::comment() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Var.comment)
  return comment_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Var::set_comment(const ::std::string& value) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Var.comment)
}
inline void OpProto_Var::set_comment(const char* value) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpProto.Var.comment)
}
inline void OpProto_Var::set_comment(const char* value, size_t size) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpProto.Var.comment)
}
inline ::std::string* OpProto_Var::mutable_comment() {
  set_has_comment();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.Var.comment)
  return comment_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpProto_Var::release_comment() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpProto.Var.comment)
  clear_has_comment();
  return comment_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Var::set_allocated_comment(::std::string* comment) {
  if (comment != NULL) {
    set_has_comment();
  } else {
    clear_has_comment();
  }
  comment_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), comment);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpProto.Var.comment)
}

// optional bool duplicable = 3 [default = false];
inline bool OpProto_Var::has_duplicable() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void OpProto_Var::set_has_duplicable() {
  _has_bits_[0] |= 0x00000004u;
}
inline void OpProto_Var::clear_has_duplicable() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void OpProto_Var::clear_duplicable() {
  duplicable_ = false;
  clear_has_duplicable();
}
inline bool OpProto_Var::duplicable() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Var.duplicable)
  return duplicable_;
}
inline void OpProto_Var::set_duplicable(bool value) {
  set_has_duplicable();
  duplicable_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Var.duplicable)
}

// optional bool intermediate = 4 [default = false];
inline bool OpProto_Var::has_intermediate() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void OpProto_Var::set_has_intermediate() {
  _has_bits_[0] |= 0x00000008u;
}
inline void OpProto_Var::clear_has_intermediate() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void OpProto_Var::clear_intermediate() {
  intermediate_ = false;
  clear_has_intermediate();
}
inline bool OpProto_Var::intermediate() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Var.intermediate)
  return intermediate_;
}
inline void OpProto_Var::set_intermediate(bool value) {
  set_has_intermediate();
  intermediate_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Var.intermediate)
}

// optional bool dispensable = 5 [default = false];
inline bool OpProto_Var::has_dispensable() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void OpProto_Var::set_has_dispensable() {
  _has_bits_[0] |= 0x00000010u;
}
inline void OpProto_Var::clear_has_dispensable() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void OpProto_Var::clear_dispensable() {
  dispensable_ = false;
  clear_has_dispensable();
}
inline bool OpProto_Var::dispensable() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Var.dispensable)
  return dispensable_;
}
inline void OpProto_Var::set_dispensable(bool value) {
  set_has_dispensable();
  dispensable_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Var.dispensable)
}

inline const OpProto_Var* OpProto_Var::internal_default_instance() {
  return &OpProto_Var_default_instance_.get();
}
// -------------------------------------------------------------------

// OpProto_Attr

// required string name = 1;
inline bool OpProto_Attr::has_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpProto_Attr::set_has_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpProto_Attr::clear_has_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpProto_Attr::clear_name() {
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_name();
}
inline const ::std::string& OpProto_Attr::name() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Attr.name)
  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Attr::set_name(const ::std::string& value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Attr.name)
}
inline void OpProto_Attr::set_name(const char* value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpProto.Attr.name)
}
inline void OpProto_Attr::set_name(const char* value, size_t size) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpProto.Attr.name)
}
inline ::std::string* OpProto_Attr::mutable_name() {
  set_has_name();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.Attr.name)
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpProto_Attr::release_name() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpProto.Attr.name)
  clear_has_name();
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Attr::set_allocated_name(::std::string* name) {
  if (name != NULL) {
    set_has_name();
  } else {
    clear_has_name();
  }
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpProto.Attr.name)
}

// required .paddle.framework.proto.AttrType type = 2;
inline bool OpProto_Attr::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void OpProto_Attr::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void OpProto_Attr::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void OpProto_Attr::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::paddle::framework::proto::AttrType OpProto_Attr::type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Attr.type)
  return static_cast< ::paddle::framework::proto::AttrType >(type_);
}
inline void OpProto_Attr::set_type(::paddle::framework::proto::AttrType value) {
  assert(::paddle::framework::proto::AttrType_IsValid(value));
  set_has_type();
  type_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Attr.type)
}

// required string comment = 3;
inline bool OpProto_Attr::has_comment() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void OpProto_Attr::set_has_comment() {
  _has_bits_[0] |= 0x00000004u;
}
inline void OpProto_Attr::clear_has_comment() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void OpProto_Attr::clear_comment() {
  comment_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_comment();
}
inline const ::std::string& OpProto_Attr::comment() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Attr.comment)
  return comment_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Attr::set_comment(const ::std::string& value) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Attr.comment)
}
inline void OpProto_Attr::set_comment(const char* value) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpProto.Attr.comment)
}
inline void OpProto_Attr::set_comment(const char* value, size_t size) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpProto.Attr.comment)
}
inline ::std::string* OpProto_Attr::mutable_comment() {
  set_has_comment();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.Attr.comment)
  return comment_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpProto_Attr::release_comment() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpProto.Attr.comment)
  clear_has_comment();
  return comment_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto_Attr::set_allocated_comment(::std::string* comment) {
  if (comment != NULL) {
    set_has_comment();
  } else {
    clear_has_comment();
  }
  comment_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), comment);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpProto.Attr.comment)
}

// optional bool generated = 4 [default = false];
inline bool OpProto_Attr::has_generated() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void OpProto_Attr::set_has_generated() {
  _has_bits_[0] |= 0x00000008u;
}
inline void OpProto_Attr::clear_has_generated() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void OpProto_Attr::clear_generated() {
  generated_ = false;
  clear_has_generated();
}
inline bool OpProto_Attr::generated() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.Attr.generated)
  return generated_;
}
inline void OpProto_Attr::set_generated(bool value) {
  set_has_generated();
  generated_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.Attr.generated)
}

inline const OpProto_Attr* OpProto_Attr::internal_default_instance() {
  return &OpProto_Attr_default_instance_.get();
}
// -------------------------------------------------------------------

// OpProto

// required string type = 1;
inline bool OpProto::has_type() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpProto::set_has_type() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpProto::clear_has_type() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpProto::clear_type() {
  type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_type();
}
inline const ::std::string& OpProto::type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.type)
  return type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto::set_type(const ::std::string& value) {
  set_has_type();
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.type)
}
inline void OpProto::set_type(const char* value) {
  set_has_type();
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpProto.type)
}
inline void OpProto::set_type(const char* value, size_t size) {
  set_has_type();
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpProto.type)
}
inline ::std::string* OpProto::mutable_type() {
  set_has_type();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.type)
  return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpProto::release_type() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpProto.type)
  clear_has_type();
  return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto::set_allocated_type(::std::string* type) {
  if (type != NULL) {
    set_has_type();
  } else {
    clear_has_type();
  }
  type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpProto.type)
}

// repeated .paddle.framework.proto.OpProto.Var inputs = 2;
inline int OpProto::inputs_size() const {
  return inputs_.size();
}
inline void OpProto::clear_inputs() {
  inputs_.Clear();
}
inline const ::paddle::framework::proto::OpProto_Var& OpProto::inputs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.inputs)
  return inputs_.Get(index);
}
inline ::paddle::framework::proto::OpProto_Var* OpProto::mutable_inputs(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.inputs)
  return inputs_.Mutable(index);
}
inline ::paddle::framework::proto::OpProto_Var* OpProto::add_inputs() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpProto.inputs)
  return inputs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >*
OpProto::mutable_inputs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpProto.inputs)
  return &inputs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >&
OpProto::inputs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpProto.inputs)
  return inputs_;
}

// repeated .paddle.framework.proto.OpProto.Var outputs = 3;
inline int OpProto::outputs_size() const {
  return outputs_.size();
}
inline void OpProto::clear_outputs() {
  outputs_.Clear();
}
inline const ::paddle::framework::proto::OpProto_Var& OpProto::outputs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.outputs)
  return outputs_.Get(index);
}
inline ::paddle::framework::proto::OpProto_Var* OpProto::mutable_outputs(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.outputs)
  return outputs_.Mutable(index);
}
inline ::paddle::framework::proto::OpProto_Var* OpProto::add_outputs() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpProto.outputs)
  return outputs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >*
OpProto::mutable_outputs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpProto.outputs)
  return &outputs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Var >&
OpProto::outputs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpProto.outputs)
  return outputs_;
}

// repeated .paddle.framework.proto.OpProto.Attr attrs = 4;
inline int OpProto::attrs_size() const {
  return attrs_.size();
}
inline void OpProto::clear_attrs() {
  attrs_.Clear();
}
inline const ::paddle::framework::proto::OpProto_Attr& OpProto::attrs(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.attrs)
  return attrs_.Get(index);
}
inline ::paddle::framework::proto::OpProto_Attr* OpProto::mutable_attrs(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.attrs)
  return attrs_.Mutable(index);
}
inline ::paddle::framework::proto::OpProto_Attr* OpProto::add_attrs() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpProto.attrs)
  return attrs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Attr >*
OpProto::mutable_attrs() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpProto.attrs)
  return &attrs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpProto_Attr >&
OpProto::attrs() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpProto.attrs)
  return attrs_;
}

// required string comment = 5;
inline bool OpProto::has_comment() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void OpProto::set_has_comment() {
  _has_bits_[0] |= 0x00000010u;
}
inline void OpProto::clear_has_comment() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void OpProto::clear_comment() {
  comment_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_comment();
}
inline const ::std::string& OpProto::comment() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpProto.comment)
  return comment_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto::set_comment(const ::std::string& value) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpProto.comment)
}
inline void OpProto::set_comment(const char* value) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpProto.comment)
}
inline void OpProto::set_comment(const char* value, size_t size) {
  set_has_comment();
  comment_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpProto.comment)
}
inline ::std::string* OpProto::mutable_comment() {
  set_has_comment();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpProto.comment)
  return comment_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpProto::release_comment() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpProto.comment)
  clear_has_comment();
  return comment_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpProto::set_allocated_comment(::std::string* comment) {
  if (comment != NULL) {
    set_has_comment();
  } else {
    clear_has_comment();
  }
  comment_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), comment);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpProto.comment)
}

inline const OpProto* OpProto::internal_default_instance() {
  return &OpProto_default_instance_.get();
}
// -------------------------------------------------------------------

// VarType_TensorDesc

// required .paddle.framework.proto.VarType.Type data_type = 1;
inline bool VarType_TensorDesc::has_data_type() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void VarType_TensorDesc::set_has_data_type() {
  _has_bits_[0] |= 0x00000001u;
}
inline void VarType_TensorDesc::clear_has_data_type() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void VarType_TensorDesc::clear_data_type() {
  data_type_ = 0;
  clear_has_data_type();
}
inline ::paddle::framework::proto::VarType_Type VarType_TensorDesc::data_type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.TensorDesc.data_type)
  return static_cast< ::paddle::framework::proto::VarType_Type >(data_type_);
}
inline void VarType_TensorDesc::set_data_type(::paddle::framework::proto::VarType_Type value) {
  assert(::paddle::framework::proto::VarType_Type_IsValid(value));
  set_has_data_type();
  data_type_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarType.TensorDesc.data_type)
}

// repeated int64 dims = 2;
inline int VarType_TensorDesc::dims_size() const {
  return dims_.size();
}
inline void VarType_TensorDesc::clear_dims() {
  dims_.Clear();
}
inline ::google::protobuf::int64 VarType_TensorDesc::dims(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.TensorDesc.dims)
  return dims_.Get(index);
}
inline void VarType_TensorDesc::set_dims(int index, ::google::protobuf::int64 value) {
  dims_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarType.TensorDesc.dims)
}
inline void VarType_TensorDesc::add_dims(::google::protobuf::int64 value) {
  dims_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.VarType.TensorDesc.dims)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
VarType_TensorDesc::dims() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.VarType.TensorDesc.dims)
  return dims_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
VarType_TensorDesc::mutable_dims() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.VarType.TensorDesc.dims)
  return &dims_;
}

inline const VarType_TensorDesc* VarType_TensorDesc::internal_default_instance() {
  return &VarType_TensorDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// VarType_LoDTensorDesc

// required .paddle.framework.proto.VarType.TensorDesc tensor = 1;
inline bool VarType_LoDTensorDesc::has_tensor() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void VarType_LoDTensorDesc::set_has_tensor() {
  _has_bits_[0] |= 0x00000001u;
}
inline void VarType_LoDTensorDesc::clear_has_tensor() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void VarType_LoDTensorDesc::clear_tensor() {
  if (tensor_ != NULL) tensor_->::paddle::framework::proto::VarType_TensorDesc::Clear();
  clear_has_tensor();
}
inline const ::paddle::framework::proto::VarType_TensorDesc& VarType_LoDTensorDesc::tensor() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.LoDTensorDesc.tensor)
  return tensor_ != NULL ? *tensor_
                         : *::paddle::framework::proto::VarType_TensorDesc::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_TensorDesc* VarType_LoDTensorDesc::mutable_tensor() {
  set_has_tensor();
  if (tensor_ == NULL) {
    tensor_ = new ::paddle::framework::proto::VarType_TensorDesc;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.LoDTensorDesc.tensor)
  return tensor_;
}
inline ::paddle::framework::proto::VarType_TensorDesc* VarType_LoDTensorDesc::release_tensor() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.LoDTensorDesc.tensor)
  clear_has_tensor();
  ::paddle::framework::proto::VarType_TensorDesc* temp = tensor_;
  tensor_ = NULL;
  return temp;
}
inline void VarType_LoDTensorDesc::set_allocated_tensor(::paddle::framework::proto::VarType_TensorDesc* tensor) {
  delete tensor_;
  tensor_ = tensor;
  if (tensor) {
    set_has_tensor();
  } else {
    clear_has_tensor();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.LoDTensorDesc.tensor)
}

// optional int32 lod_level = 2 [default = 0];
inline bool VarType_LoDTensorDesc::has_lod_level() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void VarType_LoDTensorDesc::set_has_lod_level() {
  _has_bits_[0] |= 0x00000002u;
}
inline void VarType_LoDTensorDesc::clear_has_lod_level() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void VarType_LoDTensorDesc::clear_lod_level() {
  lod_level_ = 0;
  clear_has_lod_level();
}
inline ::google::protobuf::int32 VarType_LoDTensorDesc::lod_level() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.LoDTensorDesc.lod_level)
  return lod_level_;
}
inline void VarType_LoDTensorDesc::set_lod_level(::google::protobuf::int32 value) {
  set_has_lod_level();
  lod_level_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarType.LoDTensorDesc.lod_level)
}

inline const VarType_LoDTensorDesc* VarType_LoDTensorDesc::internal_default_instance() {
  return &VarType_LoDTensorDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// VarType_LoDTensorArrayDesc

// required .paddle.framework.proto.VarType.TensorDesc tensor = 1;
inline bool VarType_LoDTensorArrayDesc::has_tensor() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void VarType_LoDTensorArrayDesc::set_has_tensor() {
  _has_bits_[0] |= 0x00000001u;
}
inline void VarType_LoDTensorArrayDesc::clear_has_tensor() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void VarType_LoDTensorArrayDesc::clear_tensor() {
  if (tensor_ != NULL) tensor_->::paddle::framework::proto::VarType_TensorDesc::Clear();
  clear_has_tensor();
}
inline const ::paddle::framework::proto::VarType_TensorDesc& VarType_LoDTensorArrayDesc::tensor() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor)
  return tensor_ != NULL ? *tensor_
                         : *::paddle::framework::proto::VarType_TensorDesc::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_TensorDesc* VarType_LoDTensorArrayDesc::mutable_tensor() {
  set_has_tensor();
  if (tensor_ == NULL) {
    tensor_ = new ::paddle::framework::proto::VarType_TensorDesc;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor)
  return tensor_;
}
inline ::paddle::framework::proto::VarType_TensorDesc* VarType_LoDTensorArrayDesc::release_tensor() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor)
  clear_has_tensor();
  ::paddle::framework::proto::VarType_TensorDesc* temp = tensor_;
  tensor_ = NULL;
  return temp;
}
inline void VarType_LoDTensorArrayDesc::set_allocated_tensor(::paddle::framework::proto::VarType_TensorDesc* tensor) {
  delete tensor_;
  tensor_ = tensor;
  if (tensor) {
    set_has_tensor();
  } else {
    clear_has_tensor();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor)
}

// optional int32 lod_level = 2 [default = 0];
inline bool VarType_LoDTensorArrayDesc::has_lod_level() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void VarType_LoDTensorArrayDesc::set_has_lod_level() {
  _has_bits_[0] |= 0x00000002u;
}
inline void VarType_LoDTensorArrayDesc::clear_has_lod_level() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void VarType_LoDTensorArrayDesc::clear_lod_level() {
  lod_level_ = 0;
  clear_has_lod_level();
}
inline ::google::protobuf::int32 VarType_LoDTensorArrayDesc::lod_level() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.LoDTensorArrayDesc.lod_level)
  return lod_level_;
}
inline void VarType_LoDTensorArrayDesc::set_lod_level(::google::protobuf::int32 value) {
  set_has_lod_level();
  lod_level_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarType.LoDTensorArrayDesc.lod_level)
}

inline const VarType_LoDTensorArrayDesc* VarType_LoDTensorArrayDesc::internal_default_instance() {
  return &VarType_LoDTensorArrayDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// VarType_ReaderDesc

// repeated .paddle.framework.proto.VarType.LoDTensorDesc lod_tensor = 1;
inline int VarType_ReaderDesc::lod_tensor_size() const {
  return lod_tensor_.size();
}
inline void VarType_ReaderDesc::clear_lod_tensor() {
  lod_tensor_.Clear();
}
inline const ::paddle::framework::proto::VarType_LoDTensorDesc& VarType_ReaderDesc::lod_tensor(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.ReaderDesc.lod_tensor)
  return lod_tensor_.Get(index);
}
inline ::paddle::framework::proto::VarType_LoDTensorDesc* VarType_ReaderDesc::mutable_lod_tensor(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.ReaderDesc.lod_tensor)
  return lod_tensor_.Mutable(index);
}
inline ::paddle::framework::proto::VarType_LoDTensorDesc* VarType_ReaderDesc::add_lod_tensor() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.VarType.ReaderDesc.lod_tensor)
  return lod_tensor_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarType_LoDTensorDesc >*
VarType_ReaderDesc::mutable_lod_tensor() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.VarType.ReaderDesc.lod_tensor)
  return &lod_tensor_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarType_LoDTensorDesc >&
VarType_ReaderDesc::lod_tensor() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.VarType.ReaderDesc.lod_tensor)
  return lod_tensor_;
}

inline const VarType_ReaderDesc* VarType_ReaderDesc::internal_default_instance() {
  return &VarType_ReaderDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// VarType_Tuple

// repeated .paddle.framework.proto.VarType.Type element_type = 1;
inline int VarType_Tuple::element_type_size() const {
  return element_type_.size();
}
inline void VarType_Tuple::clear_element_type() {
  element_type_.Clear();
}
inline ::paddle::framework::proto::VarType_Type VarType_Tuple::element_type(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.Tuple.element_type)
  return static_cast< ::paddle::framework::proto::VarType_Type >(element_type_.Get(index));
}
inline void VarType_Tuple::set_element_type(int index, ::paddle::framework::proto::VarType_Type value) {
  assert(::paddle::framework::proto::VarType_Type_IsValid(value));
  element_type_.Set(index, value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarType.Tuple.element_type)
}
inline void VarType_Tuple::add_element_type(::paddle::framework::proto::VarType_Type value) {
  assert(::paddle::framework::proto::VarType_Type_IsValid(value));
  element_type_.Add(value);
  // @@protoc_insertion_point(field_add:paddle.framework.proto.VarType.Tuple.element_type)
}
inline const ::google::protobuf::RepeatedField<int>&
VarType_Tuple::element_type() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.VarType.Tuple.element_type)
  return element_type_;
}
inline ::google::protobuf::RepeatedField<int>*
VarType_Tuple::mutable_element_type() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.VarType.Tuple.element_type)
  return &element_type_;
}

inline const VarType_Tuple* VarType_Tuple::internal_default_instance() {
  return &VarType_Tuple_default_instance_.get();
}
// -------------------------------------------------------------------

// VarType

// required .paddle.framework.proto.VarType.Type type = 1;
inline bool VarType::has_type() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void VarType::set_has_type() {
  _has_bits_[0] |= 0x00000001u;
}
inline void VarType::clear_has_type() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void VarType::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::paddle::framework::proto::VarType_Type VarType::type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.type)
  return static_cast< ::paddle::framework::proto::VarType_Type >(type_);
}
inline void VarType::set_type(::paddle::framework::proto::VarType_Type value) {
  assert(::paddle::framework::proto::VarType_Type_IsValid(value));
  set_has_type();
  type_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarType.type)
}

// optional .paddle.framework.proto.VarType.TensorDesc selected_rows = 2;
inline bool VarType::has_selected_rows() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void VarType::set_has_selected_rows() {
  _has_bits_[0] |= 0x00000002u;
}
inline void VarType::clear_has_selected_rows() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void VarType::clear_selected_rows() {
  if (selected_rows_ != NULL) selected_rows_->::paddle::framework::proto::VarType_TensorDesc::Clear();
  clear_has_selected_rows();
}
inline const ::paddle::framework::proto::VarType_TensorDesc& VarType::selected_rows() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.selected_rows)
  return selected_rows_ != NULL ? *selected_rows_
                         : *::paddle::framework::proto::VarType_TensorDesc::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_TensorDesc* VarType::mutable_selected_rows() {
  set_has_selected_rows();
  if (selected_rows_ == NULL) {
    selected_rows_ = new ::paddle::framework::proto::VarType_TensorDesc;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.selected_rows)
  return selected_rows_;
}
inline ::paddle::framework::proto::VarType_TensorDesc* VarType::release_selected_rows() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.selected_rows)
  clear_has_selected_rows();
  ::paddle::framework::proto::VarType_TensorDesc* temp = selected_rows_;
  selected_rows_ = NULL;
  return temp;
}
inline void VarType::set_allocated_selected_rows(::paddle::framework::proto::VarType_TensorDesc* selected_rows) {
  delete selected_rows_;
  selected_rows_ = selected_rows;
  if (selected_rows) {
    set_has_selected_rows();
  } else {
    clear_has_selected_rows();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.selected_rows)
}

// optional .paddle.framework.proto.VarType.LoDTensorDesc lod_tensor = 3;
inline bool VarType::has_lod_tensor() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void VarType::set_has_lod_tensor() {
  _has_bits_[0] |= 0x00000004u;
}
inline void VarType::clear_has_lod_tensor() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void VarType::clear_lod_tensor() {
  if (lod_tensor_ != NULL) lod_tensor_->::paddle::framework::proto::VarType_LoDTensorDesc::Clear();
  clear_has_lod_tensor();
}
inline const ::paddle::framework::proto::VarType_LoDTensorDesc& VarType::lod_tensor() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.lod_tensor)
  return lod_tensor_ != NULL ? *lod_tensor_
                         : *::paddle::framework::proto::VarType_LoDTensorDesc::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_LoDTensorDesc* VarType::mutable_lod_tensor() {
  set_has_lod_tensor();
  if (lod_tensor_ == NULL) {
    lod_tensor_ = new ::paddle::framework::proto::VarType_LoDTensorDesc;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.lod_tensor)
  return lod_tensor_;
}
inline ::paddle::framework::proto::VarType_LoDTensorDesc* VarType::release_lod_tensor() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.lod_tensor)
  clear_has_lod_tensor();
  ::paddle::framework::proto::VarType_LoDTensorDesc* temp = lod_tensor_;
  lod_tensor_ = NULL;
  return temp;
}
inline void VarType::set_allocated_lod_tensor(::paddle::framework::proto::VarType_LoDTensorDesc* lod_tensor) {
  delete lod_tensor_;
  lod_tensor_ = lod_tensor;
  if (lod_tensor) {
    set_has_lod_tensor();
  } else {
    clear_has_lod_tensor();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.lod_tensor)
}

// optional .paddle.framework.proto.VarType.LoDTensorArrayDesc tensor_array = 4;
inline bool VarType::has_tensor_array() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void VarType::set_has_tensor_array() {
  _has_bits_[0] |= 0x00000008u;
}
inline void VarType::clear_has_tensor_array() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void VarType::clear_tensor_array() {
  if (tensor_array_ != NULL) tensor_array_->::paddle::framework::proto::VarType_LoDTensorArrayDesc::Clear();
  clear_has_tensor_array();
}
inline const ::paddle::framework::proto::VarType_LoDTensorArrayDesc& VarType::tensor_array() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.tensor_array)
  return tensor_array_ != NULL ? *tensor_array_
                         : *::paddle::framework::proto::VarType_LoDTensorArrayDesc::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_LoDTensorArrayDesc* VarType::mutable_tensor_array() {
  set_has_tensor_array();
  if (tensor_array_ == NULL) {
    tensor_array_ = new ::paddle::framework::proto::VarType_LoDTensorArrayDesc;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.tensor_array)
  return tensor_array_;
}
inline ::paddle::framework::proto::VarType_LoDTensorArrayDesc* VarType::release_tensor_array() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.tensor_array)
  clear_has_tensor_array();
  ::paddle::framework::proto::VarType_LoDTensorArrayDesc* temp = tensor_array_;
  tensor_array_ = NULL;
  return temp;
}
inline void VarType::set_allocated_tensor_array(::paddle::framework::proto::VarType_LoDTensorArrayDesc* tensor_array) {
  delete tensor_array_;
  tensor_array_ = tensor_array;
  if (tensor_array) {
    set_has_tensor_array();
  } else {
    clear_has_tensor_array();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.tensor_array)
}

// optional .paddle.framework.proto.VarType.ReaderDesc reader = 5;
inline bool VarType::has_reader() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void VarType::set_has_reader() {
  _has_bits_[0] |= 0x00000010u;
}
inline void VarType::clear_has_reader() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void VarType::clear_reader() {
  if (reader_ != NULL) reader_->::paddle::framework::proto::VarType_ReaderDesc::Clear();
  clear_has_reader();
}
inline const ::paddle::framework::proto::VarType_ReaderDesc& VarType::reader() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.reader)
  return reader_ != NULL ? *reader_
                         : *::paddle::framework::proto::VarType_ReaderDesc::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_ReaderDesc* VarType::mutable_reader() {
  set_has_reader();
  if (reader_ == NULL) {
    reader_ = new ::paddle::framework::proto::VarType_ReaderDesc;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.reader)
  return reader_;
}
inline ::paddle::framework::proto::VarType_ReaderDesc* VarType::release_reader() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.reader)
  clear_has_reader();
  ::paddle::framework::proto::VarType_ReaderDesc* temp = reader_;
  reader_ = NULL;
  return temp;
}
inline void VarType::set_allocated_reader(::paddle::framework::proto::VarType_ReaderDesc* reader) {
  delete reader_;
  reader_ = reader;
  if (reader) {
    set_has_reader();
  } else {
    clear_has_reader();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.reader)
}

// optional .paddle.framework.proto.VarType.Tuple tuple = 7;
inline bool VarType::has_tuple() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void VarType::set_has_tuple() {
  _has_bits_[0] |= 0x00000020u;
}
inline void VarType::clear_has_tuple() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void VarType::clear_tuple() {
  if (tuple_ != NULL) tuple_->::paddle::framework::proto::VarType_Tuple::Clear();
  clear_has_tuple();
}
inline const ::paddle::framework::proto::VarType_Tuple& VarType::tuple() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarType.tuple)
  return tuple_ != NULL ? *tuple_
                         : *::paddle::framework::proto::VarType_Tuple::internal_default_instance();
}
inline ::paddle::framework::proto::VarType_Tuple* VarType::mutable_tuple() {
  set_has_tuple();
  if (tuple_ == NULL) {
    tuple_ = new ::paddle::framework::proto::VarType_Tuple;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarType.tuple)
  return tuple_;
}
inline ::paddle::framework::proto::VarType_Tuple* VarType::release_tuple() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarType.tuple)
  clear_has_tuple();
  ::paddle::framework::proto::VarType_Tuple* temp = tuple_;
  tuple_ = NULL;
  return temp;
}
inline void VarType::set_allocated_tuple(::paddle::framework::proto::VarType_Tuple* tuple) {
  delete tuple_;
  tuple_ = tuple;
  if (tuple) {
    set_has_tuple();
  } else {
    clear_has_tuple();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarType.tuple)
}

inline const VarType* VarType::internal_default_instance() {
  return &VarType_default_instance_.get();
}
// -------------------------------------------------------------------

// VarDesc

// required string name = 1;
inline bool VarDesc::has_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void VarDesc::set_has_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void VarDesc::clear_has_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void VarDesc::clear_name() {
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_name();
}
inline const ::std::string& VarDesc::name() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarDesc.name)
  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void VarDesc::set_name(const ::std::string& value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarDesc.name)
}
inline void VarDesc::set_name(const char* value) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.VarDesc.name)
}
inline void VarDesc::set_name(const char* value, size_t size) {
  set_has_name();
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.VarDesc.name)
}
inline ::std::string* VarDesc::mutable_name() {
  set_has_name();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarDesc.name)
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* VarDesc::release_name() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarDesc.name)
  clear_has_name();
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void VarDesc::set_allocated_name(::std::string* name) {
  if (name != NULL) {
    set_has_name();
  } else {
    clear_has_name();
  }
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarDesc.name)
}

// required .paddle.framework.proto.VarType type = 2;
inline bool VarDesc::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void VarDesc::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void VarDesc::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void VarDesc::clear_type() {
  if (type_ != NULL) type_->::paddle::framework::proto::VarType::Clear();
  clear_has_type();
}
inline const ::paddle::framework::proto::VarType& VarDesc::type() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarDesc.type)
  return type_ != NULL ? *type_
                         : *::paddle::framework::proto::VarType::internal_default_instance();
}
inline ::paddle::framework::proto::VarType* VarDesc::mutable_type() {
  set_has_type();
  if (type_ == NULL) {
    type_ = new ::paddle::framework::proto::VarType;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.VarDesc.type)
  return type_;
}
inline ::paddle::framework::proto::VarType* VarDesc::release_type() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.VarDesc.type)
  clear_has_type();
  ::paddle::framework::proto::VarType* temp = type_;
  type_ = NULL;
  return temp;
}
inline void VarDesc::set_allocated_type(::paddle::framework::proto::VarType* type) {
  delete type_;
  type_ = type;
  if (type) {
    set_has_type();
  } else {
    clear_has_type();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.VarDesc.type)
}

// optional bool persistable = 3 [default = false];
inline bool VarDesc::has_persistable() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void VarDesc::set_has_persistable() {
  _has_bits_[0] |= 0x00000004u;
}
inline void VarDesc::clear_has_persistable() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void VarDesc::clear_persistable() {
  persistable_ = false;
  clear_has_persistable();
}
inline bool VarDesc::persistable() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarDesc.persistable)
  return persistable_;
}
inline void VarDesc::set_persistable(bool value) {
  set_has_persistable();
  persistable_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarDesc.persistable)
}

// optional bool need_check_feed = 4 [default = false];
inline bool VarDesc::has_need_check_feed() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void VarDesc::set_has_need_check_feed() {
  _has_bits_[0] |= 0x00000008u;
}
inline void VarDesc::clear_has_need_check_feed() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void VarDesc::clear_need_check_feed() {
  need_check_feed_ = false;
  clear_has_need_check_feed();
}
inline bool VarDesc::need_check_feed() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.VarDesc.need_check_feed)
  return need_check_feed_;
}
inline void VarDesc::set_need_check_feed(bool value) {
  set_has_need_check_feed();
  need_check_feed_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.VarDesc.need_check_feed)
}

inline const VarDesc* VarDesc::internal_default_instance() {
  return &VarDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// BlockDesc

// required int32 idx = 1;
inline bool BlockDesc::has_idx() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void BlockDesc::set_has_idx() {
  _has_bits_[0] |= 0x00000001u;
}
inline void BlockDesc::clear_has_idx() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void BlockDesc::clear_idx() {
  idx_ = 0;
  clear_has_idx();
}
inline ::google::protobuf::int32 BlockDesc::idx() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.BlockDesc.idx)
  return idx_;
}
inline void BlockDesc::set_idx(::google::protobuf::int32 value) {
  set_has_idx();
  idx_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.BlockDesc.idx)
}

// required int32 parent_idx = 2;
inline bool BlockDesc::has_parent_idx() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void BlockDesc::set_has_parent_idx() {
  _has_bits_[0] |= 0x00000002u;
}
inline void BlockDesc::clear_has_parent_idx() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void BlockDesc::clear_parent_idx() {
  parent_idx_ = 0;
  clear_has_parent_idx();
}
inline ::google::protobuf::int32 BlockDesc::parent_idx() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.BlockDesc.parent_idx)
  return parent_idx_;
}
inline void BlockDesc::set_parent_idx(::google::protobuf::int32 value) {
  set_has_parent_idx();
  parent_idx_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.BlockDesc.parent_idx)
}

// repeated .paddle.framework.proto.VarDesc vars = 3;
inline int BlockDesc::vars_size() const {
  return vars_.size();
}
inline void BlockDesc::clear_vars() {
  vars_.Clear();
}
inline const ::paddle::framework::proto::VarDesc& BlockDesc::vars(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.BlockDesc.vars)
  return vars_.Get(index);
}
inline ::paddle::framework::proto::VarDesc* BlockDesc::mutable_vars(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.BlockDesc.vars)
  return vars_.Mutable(index);
}
inline ::paddle::framework::proto::VarDesc* BlockDesc::add_vars() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.BlockDesc.vars)
  return vars_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarDesc >*
BlockDesc::mutable_vars() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.BlockDesc.vars)
  return &vars_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::VarDesc >&
BlockDesc::vars() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.BlockDesc.vars)
  return vars_;
}

// repeated .paddle.framework.proto.OpDesc ops = 4;
inline int BlockDesc::ops_size() const {
  return ops_.size();
}
inline void BlockDesc::clear_ops() {
  ops_.Clear();
}
inline const ::paddle::framework::proto::OpDesc& BlockDesc::ops(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.BlockDesc.ops)
  return ops_.Get(index);
}
inline ::paddle::framework::proto::OpDesc* BlockDesc::mutable_ops(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.BlockDesc.ops)
  return ops_.Mutable(index);
}
inline ::paddle::framework::proto::OpDesc* BlockDesc::add_ops() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.BlockDesc.ops)
  return ops_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc >*
BlockDesc::mutable_ops() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.BlockDesc.ops)
  return &ops_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpDesc >&
BlockDesc::ops() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.BlockDesc.ops)
  return ops_;
}

// optional int32 forward_block_idx = 5 [default = -1];
inline bool BlockDesc::has_forward_block_idx() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void BlockDesc::set_has_forward_block_idx() {
  _has_bits_[0] |= 0x00000010u;
}
inline void BlockDesc::clear_has_forward_block_idx() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void BlockDesc::clear_forward_block_idx() {
  forward_block_idx_ = -1;
  clear_has_forward_block_idx();
}
inline ::google::protobuf::int32 BlockDesc::forward_block_idx() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.BlockDesc.forward_block_idx)
  return forward_block_idx_;
}
inline void BlockDesc::set_forward_block_idx(::google::protobuf::int32 value) {
  set_has_forward_block_idx();
  forward_block_idx_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.BlockDesc.forward_block_idx)
}

inline const BlockDesc* BlockDesc::internal_default_instance() {
  return &BlockDesc_default_instance_.get();
}
// -------------------------------------------------------------------

// OpVersion

// required int32 version = 1;
inline bool OpVersion::has_version() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpVersion::set_has_version() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpVersion::clear_has_version() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpVersion::clear_version() {
  version_ = 0;
  clear_has_version();
}
inline ::google::protobuf::int32 OpVersion::version() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpVersion.version)
  return version_;
}
inline void OpVersion::set_version(::google::protobuf::int32 value) {
  set_has_version();
  version_ = value;
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpVersion.version)
}

inline const OpVersion* OpVersion::internal_default_instance() {
  return &OpVersion_default_instance_.get();
}
// -------------------------------------------------------------------

// OpVersionMap_OpVersionPair

// required string op_name = 1;
inline bool OpVersionMap_OpVersionPair::has_op_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void OpVersionMap_OpVersionPair::set_has_op_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void OpVersionMap_OpVersionPair::clear_has_op_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void OpVersionMap_OpVersionPair::clear_op_name() {
  op_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_op_name();
}
inline const ::std::string& OpVersionMap_OpVersionPair::op_name() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
  return op_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpVersionMap_OpVersionPair::set_op_name(const ::std::string& value) {
  set_has_op_name();
  op_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
}
inline void OpVersionMap_OpVersionPair::set_op_name(const char* value) {
  set_has_op_name();
  op_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
}
inline void OpVersionMap_OpVersionPair::set_op_name(const char* value, size_t size) {
  set_has_op_name();
  op_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
}
inline ::std::string* OpVersionMap_OpVersionPair::mutable_op_name() {
  set_has_op_name();
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
  return op_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* OpVersionMap_OpVersionPair::release_op_name() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
  clear_has_op_name();
  return op_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void OpVersionMap_OpVersionPair::set_allocated_op_name(::std::string* op_name) {
  if (op_name != NULL) {
    set_has_op_name();
  } else {
    clear_has_op_name();
  }
  op_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), op_name);
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpVersionMap.OpVersionPair.op_name)
}

// required .paddle.framework.proto.OpVersion op_version = 2;
inline bool OpVersionMap_OpVersionPair::has_op_version() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void OpVersionMap_OpVersionPair::set_has_op_version() {
  _has_bits_[0] |= 0x00000002u;
}
inline void OpVersionMap_OpVersionPair::clear_has_op_version() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void OpVersionMap_OpVersionPair::clear_op_version() {
  if (op_version_ != NULL) op_version_->::paddle::framework::proto::OpVersion::Clear();
  clear_has_op_version();
}
inline const ::paddle::framework::proto::OpVersion& OpVersionMap_OpVersionPair::op_version() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpVersionMap.OpVersionPair.op_version)
  return op_version_ != NULL ? *op_version_
                         : *::paddle::framework::proto::OpVersion::internal_default_instance();
}
inline ::paddle::framework::proto::OpVersion* OpVersionMap_OpVersionPair::mutable_op_version() {
  set_has_op_version();
  if (op_version_ == NULL) {
    op_version_ = new ::paddle::framework::proto::OpVersion;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpVersionMap.OpVersionPair.op_version)
  return op_version_;
}
inline ::paddle::framework::proto::OpVersion* OpVersionMap_OpVersionPair::release_op_version() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.OpVersionMap.OpVersionPair.op_version)
  clear_has_op_version();
  ::paddle::framework::proto::OpVersion* temp = op_version_;
  op_version_ = NULL;
  return temp;
}
inline void OpVersionMap_OpVersionPair::set_allocated_op_version(::paddle::framework::proto::OpVersion* op_version) {
  delete op_version_;
  op_version_ = op_version;
  if (op_version) {
    set_has_op_version();
  } else {
    clear_has_op_version();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.OpVersionMap.OpVersionPair.op_version)
}

inline const OpVersionMap_OpVersionPair* OpVersionMap_OpVersionPair::internal_default_instance() {
  return &OpVersionMap_OpVersionPair_default_instance_.get();
}
// -------------------------------------------------------------------

// OpVersionMap

// repeated .paddle.framework.proto.OpVersionMap.OpVersionPair pair = 1;
inline int OpVersionMap::pair_size() const {
  return pair_.size();
}
inline void OpVersionMap::clear_pair() {
  pair_.Clear();
}
inline const ::paddle::framework::proto::OpVersionMap_OpVersionPair& OpVersionMap::pair(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.OpVersionMap.pair)
  return pair_.Get(index);
}
inline ::paddle::framework::proto::OpVersionMap_OpVersionPair* OpVersionMap::mutable_pair(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.OpVersionMap.pair)
  return pair_.Mutable(index);
}
inline ::paddle::framework::proto::OpVersionMap_OpVersionPair* OpVersionMap::add_pair() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.OpVersionMap.pair)
  return pair_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpVersionMap_OpVersionPair >*
OpVersionMap::mutable_pair() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.OpVersionMap.pair)
  return &pair_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::OpVersionMap_OpVersionPair >&
OpVersionMap::pair() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.OpVersionMap.pair)
  return pair_;
}

inline const OpVersionMap* OpVersionMap::internal_default_instance() {
  return &OpVersionMap_default_instance_.get();
}
// -------------------------------------------------------------------

// ProgramDesc

// repeated .paddle.framework.proto.BlockDesc blocks = 1;
inline int ProgramDesc::blocks_size() const {
  return blocks_.size();
}
inline void ProgramDesc::clear_blocks() {
  blocks_.Clear();
}
inline const ::paddle::framework::proto::BlockDesc& ProgramDesc::blocks(int index) const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.ProgramDesc.blocks)
  return blocks_.Get(index);
}
inline ::paddle::framework::proto::BlockDesc* ProgramDesc::mutable_blocks(int index) {
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.ProgramDesc.blocks)
  return blocks_.Mutable(index);
}
inline ::paddle::framework::proto::BlockDesc* ProgramDesc::add_blocks() {
  // @@protoc_insertion_point(field_add:paddle.framework.proto.ProgramDesc.blocks)
  return blocks_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::BlockDesc >*
ProgramDesc::mutable_blocks() {
  // @@protoc_insertion_point(field_mutable_list:paddle.framework.proto.ProgramDesc.blocks)
  return &blocks_;
}
inline const ::google::protobuf::RepeatedPtrField< ::paddle::framework::proto::BlockDesc >&
ProgramDesc::blocks() const {
  // @@protoc_insertion_point(field_list:paddle.framework.proto.ProgramDesc.blocks)
  return blocks_;
}

// optional .paddle.framework.proto.Version version = 4;
inline bool ProgramDesc::has_version() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ProgramDesc::set_has_version() {
  _has_bits_[0] |= 0x00000002u;
}
inline void ProgramDesc::clear_has_version() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void ProgramDesc::clear_version() {
  if (version_ != NULL) version_->::paddle::framework::proto::Version::Clear();
  clear_has_version();
}
inline const ::paddle::framework::proto::Version& ProgramDesc::version() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.ProgramDesc.version)
  return version_ != NULL ? *version_
                         : *::paddle::framework::proto::Version::internal_default_instance();
}
inline ::paddle::framework::proto::Version* ProgramDesc::mutable_version() {
  set_has_version();
  if (version_ == NULL) {
    version_ = new ::paddle::framework::proto::Version;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.ProgramDesc.version)
  return version_;
}
inline ::paddle::framework::proto::Version* ProgramDesc::release_version() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.ProgramDesc.version)
  clear_has_version();
  ::paddle::framework::proto::Version* temp = version_;
  version_ = NULL;
  return temp;
}
inline void ProgramDesc::set_allocated_version(::paddle::framework::proto::Version* version) {
  delete version_;
  version_ = version;
  if (version) {
    set_has_version();
  } else {
    clear_has_version();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.ProgramDesc.version)
}

// optional .paddle.framework.proto.OpVersionMap op_version_map = 5;
inline bool ProgramDesc::has_op_version_map() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void ProgramDesc::set_has_op_version_map() {
  _has_bits_[0] |= 0x00000004u;
}
inline void ProgramDesc::clear_has_op_version_map() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void ProgramDesc::clear_op_version_map() {
  if (op_version_map_ != NULL) op_version_map_->::paddle::framework::proto::OpVersionMap::Clear();
  clear_has_op_version_map();
}
inline const ::paddle::framework::proto::OpVersionMap& ProgramDesc::op_version_map() const {
  // @@protoc_insertion_point(field_get:paddle.framework.proto.ProgramDesc.op_version_map)
  return op_version_map_ != NULL ? *op_version_map_
                         : *::paddle::framework::proto::OpVersionMap::internal_default_instance();
}
inline ::paddle::framework::proto::OpVersionMap* ProgramDesc::mutable_op_version_map() {
  set_has_op_version_map();
  if (op_version_map_ == NULL) {
    op_version_map_ = new ::paddle::framework::proto::OpVersionMap;
  }
  // @@protoc_insertion_point(field_mutable:paddle.framework.proto.ProgramDesc.op_version_map)
  return op_version_map_;
}
inline ::paddle::framework::proto::OpVersionMap* ProgramDesc::release_op_version_map() {
  // @@protoc_insertion_point(field_release:paddle.framework.proto.ProgramDesc.op_version_map)
  clear_has_op_version_map();
  ::paddle::framework::proto::OpVersionMap* temp = op_version_map_;
  op_version_map_ = NULL;
  return temp;
}
inline void ProgramDesc::set_allocated_op_version_map(::paddle::framework::proto::OpVersionMap* op_version_map) {
  delete op_version_map_;
  op_version_map_ = op_version_map;
  if (op_version_map) {
    set_has_op_version_map();
  } else {
    clear_has_op_version_map();
  }
  // @@protoc_insertion_point(field_set_allocated:paddle.framework.proto.ProgramDesc.op_version_map)
}

inline const ProgramDesc* ProgramDesc::internal_default_instance() {
  return &ProgramDesc_default_instance_.get();
}
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace proto
}  // namespace framework
}  // namespace paddle

#ifndef SWIG
namespace google {
namespace protobuf {

template <> struct is_proto_enum< ::paddle::framework::proto::VarType_Type> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::paddle::framework::proto::VarType_Type>() {
  return ::paddle::framework::proto::VarType_Type_descriptor();
}
template <> struct is_proto_enum< ::paddle::framework::proto::AttrType> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::paddle::framework::proto::AttrType>() {
  return ::paddle::framework::proto::AttrType_descriptor();
}

}  // namespace protobuf
}  // namespace google
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_framework_2eproto__INCLUDED
