# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tensorflow/dtensor/proto/layout.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorflow/dtensor/proto/layout.proto\x12\x12tensorflow.dtensor\"+\n\x0cShardingSpec\x12\x15\n\rsharding_spec\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"0\n\x12MeshDimensionProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\"\xfb\x01\n\x0bLayoutProto\x12\x38\n\x0esharding_specs\x18\x01 \x03(\x0b\x32 .tensorflow.dtensor.ShardingSpec\x12\x32\n\x0bmesh_config\x18\x02 \x01(\x0b\x32\x1d.tensorflow.dtensor.MeshProto\x12\x38\n\x04type\x18\x03 \x01(\x0e\x32*.tensorflow.dtensor.LayoutProto.LayoutType\"D\n\nLayoutType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06STATIC\x10\x01\x12\n\n\x06PARTED\x10\x02\x12\x11\n\rSINGLE_DEVICE\x10\x03\"\xeb\x01\n\tMeshProto\x12?\n\x0fmesh_dimensions\x18\x01 \x03(\x0b\x32&.tensorflow.dtensor.MeshDimensionProto\x12\x19\n\x11global_device_ids\x18\x02 \x03(\x03\x12\x18\n\x10local_device_ids\x18\x04 \x03(\x03\x12\x15\n\rlocal_devices\x18\x05 \x03(\t\x12\x16\n\x0eglobal_devices\x18\x06 \x03(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x0cuse_xla_spmd\x18\x07 \x01(\x08\x12\x15\n\rsingle_device\x18\x08 \x01(\tb\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow.dtensor.proto.layout_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _SHARDINGSPEC._serialized_start=61
  _SHARDINGSPEC._serialized_end=104
  _MESHDIMENSIONPROTO._serialized_start=106
  _MESHDIMENSIONPROTO._serialized_end=154
  _LAYOUTPROTO._serialized_start=157
  _LAYOUTPROTO._serialized_end=408
  _LAYOUTPROTO_LAYOUTTYPE._serialized_start=340
  _LAYOUTPROTO_LAYOUTTYPE._serialized_end=408
  _MESHPROTO._serialized_start=411
  _MESHPROTO._serialized_end=646
# @@protoc_insertion_point(module_scope)
