class_docstr: Data provider that talks over gRPC.
class_docstr_tok: ["Data","provider","that","talks","over","gRPC","."]
docstr: Initializes a GrpcDataProvider.
  
  Args:
    addr: String address of the remote peer. Used cosmetically for
      data location.
    stub: `data_provider_pb2_grpc.TensorBoardDataProviderStub`
      value. See `make_stub` to construct one from a channel.
docstr_tok: ["Initializes","a","GrpcDataProvider",".","Args",":","addr",":","String","address","of","the","remote","peer",".","Used","cosmetically","for","data","location",".","stub",":","`","data_provider_pb2_grpc.TensorBoardDataProviderStub","`","value",".","See","`","make_stub","`","to","construct","one","from","a","channel","."]
code: def __init__(self, addr, stub):
      """Initializes a GrpcDataProvider.
  
      Args:
        addr: String address of the remote peer. Used cosmetically for
          data location.
        stub: `data_provider_pb2_grpc.TensorBoardDataProviderStub`
          value. See `make_stub` to construct one from a channel.
      """
      self._addr = addr
      self._stub = stub
  
imports: import collections
  import contextlib
  import grpc
  from tensorboard.util import tensor_util
  from tensorboard.util import timing
  from tensorboard import errors
  from tensorboard.data import provider
  from tensorboard.data.proto import data_provider_pb2
  from tensorboard.data.proto import data_provider_pb2_grpc
label_desc: Use image node_id 1 to create a new GrpcDataProvider object from inherited base classes: provider with example: obj = GrpcDataProvider(addr, stub)