Interface EagerServiceOuterClass.CreateContextResponseOrBuilder

    • Method Detail

      • getContextId

        long getContextId()
         The ID of the created context. This is usually a randomly generated number,
         that will be used to identify the context in future requests to the
         service. Contexts are not persisted through server restarts.
         
        fixed64 context_id = 1;
        Returns:
        The contextId.
      • getDeviceAttributesList

        List<DeviceAttributes> getDeviceAttributesList()
         List of devices that are locally accessible to the worker.
         
        repeated .tensorflow.DeviceAttributes device_attributes = 2;
      • getDeviceAttributes

        DeviceAttributes getDeviceAttributes​(int index)
         List of devices that are locally accessible to the worker.
         
        repeated .tensorflow.DeviceAttributes device_attributes = 2;
      • getDeviceAttributesCount

        int getDeviceAttributesCount()
         List of devices that are locally accessible to the worker.
         
        repeated .tensorflow.DeviceAttributes device_attributes = 2;
      • getDeviceAttributesOrBuilderList

        List<? extends DeviceAttributesOrBuilder> getDeviceAttributesOrBuilderList()
         List of devices that are locally accessible to the worker.
         
        repeated .tensorflow.DeviceAttributes device_attributes = 2;
      • getDeviceAttributesOrBuilder

        DeviceAttributesOrBuilder getDeviceAttributesOrBuilder​(int index)
         List of devices that are locally accessible to the worker.
         
        repeated .tensorflow.DeviceAttributes device_attributes = 2;