[XLA] Redesign: test sharding.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 12 Apr 2018 01:38:38 +0000 (18:38 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 12 Apr 2018 01:42:28 +0000 (18:42 -0700)
commit4e29ebd67cd4409cbdfa6510b06acd780166aa9d
treec0047ef1ef2276910d60fee24fa261da54041e33
parentff6c11008213424b7a1dd77346f996be693b004a
[XLA] Redesign: test sharding.

Also set the sharding to the instruction when created from proto.

PiperOrigin-RevId: 192543024
tensorflow/compiler/xla/client/xla_client/xla_builder.h
tensorflow/compiler/xla/service/hlo_instruction.cc