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

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='tensorflow/core/framework/device_attributes.proto',
  package='tensorflow',
  syntax='proto3',
  serialized_pb=_b('\n1tensorflow/core/framework/device_attributes.proto\x12\ntensorflow\"\xaf\x01\n\x10\x44\x65viceAttributes\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65vice_type\x18\x02 \x01(\t\x12\x14\n\x0cmemory_limit\x18\x04 \x01(\x03\x12/\n\rbus_adjacency\x18\x05 \x01(\x0e\x32\x18.tensorflow.BusAdjacency\x12\x13\n\x0bincarnation\x18\x06 \x01(\x06\x12\x1c\n\x14physical_device_desc\x18\x07 \x01(\t*J\n\x0c\x42usAdjacency\x12\t\n\x05\x42US_0\x10\x00\x12\t\n\x05\x42US_1\x10\x01\x12\x0b\n\x07\x42US_ANY\x10\x02\x12\x17\n\x13\x42US_NUM_ADJACENCIES\x10\x03\x42\x37\n\x18org.tensorflow.frameworkB\x16\x44\x65viceAttributesProtosP\x01\xf8\x01\x01\x62\x06proto3')
)
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_BUSADJACENCY = _descriptor.EnumDescriptor(
  name='BusAdjacency',
  full_name='tensorflow.BusAdjacency',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='BUS_0', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='BUS_1', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='BUS_ANY', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='BUS_NUM_ADJACENCIES', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=243,
  serialized_end=317,
)
_sym_db.RegisterEnumDescriptor(_BUSADJACENCY)

BusAdjacency = enum_type_wrapper.EnumTypeWrapper(_BUSADJACENCY)
BUS_0 = 0
BUS_1 = 1
BUS_ANY = 2
BUS_NUM_ADJACENCIES = 3



_DEVICEATTRIBUTES = _descriptor.Descriptor(
  name='DeviceAttributes',
  full_name='tensorflow.DeviceAttributes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='tensorflow.DeviceAttributes.name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='device_type', full_name='tensorflow.DeviceAttributes.device_type', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='memory_limit', full_name='tensorflow.DeviceAttributes.memory_limit', index=2,
      number=4, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='bus_adjacency', full_name='tensorflow.DeviceAttributes.bus_adjacency', index=3,
      number=5, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='incarnation', full_name='tensorflow.DeviceAttributes.incarnation', index=4,
      number=6, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='physical_device_desc', full_name='tensorflow.DeviceAttributes.physical_device_desc', index=5,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=66,
  serialized_end=241,
)

_DEVICEATTRIBUTES.fields_by_name['bus_adjacency'].enum_type = _BUSADJACENCY
DESCRIPTOR.message_types_by_name['DeviceAttributes'] = _DEVICEATTRIBUTES
DESCRIPTOR.enum_types_by_name['BusAdjacency'] = _BUSADJACENCY

DeviceAttributes = _reflection.GeneratedProtocolMessageType('DeviceAttributes', (_message.Message,), dict(
  DESCRIPTOR = _DEVICEATTRIBUTES,
  __module__ = 'tensorflow.core.framework.device_attributes_pb2'
  # @@protoc_insertion_point(class_scope:tensorflow.DeviceAttributes)
  ))
_sym_db.RegisterMessage(DeviceAttributes)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\030org.tensorflow.frameworkB\026DeviceAttributesProtosP\001\370\001\001'))
# @@protoc_insertion_point(module_scope)
