tensorflow-proto-0.3.0.0: TensorFlow protocol buffers.
Safe HaskellNone
LanguageHaskell2010

Proto.Tensorflow.Core.Framework.DeviceAttributes

Synopsis

Documentation

data DeviceAttributes Source #

Fields :

  • name :: Lens' DeviceAttributes Data.Text.Text
  • deviceType :: Lens' DeviceAttributes Data.Text.Text
  • memoryLimit :: Lens' DeviceAttributes Data.Int.Int64
  • locality :: Lens' DeviceAttributes DeviceLocality
  • maybe'locality :: Lens' DeviceAttributes (Prelude.Maybe DeviceLocality)
  • incarnation :: Lens' DeviceAttributes Data.Word.Word64
  • physicalDeviceDesc :: Lens' DeviceAttributes Data.Text.Text

Instances

Instances details
Eq DeviceAttributes Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Ord DeviceAttributes Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Show DeviceAttributes Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

NFData DeviceAttributes Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

rnf :: DeviceAttributes -> () #

Message DeviceAttributes Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

HasField DeviceAttributes "deviceType" Text Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "deviceType" -> (Text -> f Text) -> DeviceAttributes -> f DeviceAttributes

HasField DeviceAttributes "incarnation" Word64 Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "incarnation" -> (Word64 -> f Word64) -> DeviceAttributes -> f DeviceAttributes

HasField DeviceAttributes "locality" DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

HasField DeviceAttributes "memoryLimit" Int64 Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "memoryLimit" -> (Int64 -> f Int64) -> DeviceAttributes -> f DeviceAttributes

HasField DeviceAttributes "name" Text Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "name" -> (Text -> f Text) -> DeviceAttributes -> f DeviceAttributes

HasField DeviceAttributes "physicalDeviceDesc" Text Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "physicalDeviceDesc" -> (Text -> f Text) -> DeviceAttributes -> f DeviceAttributes

HasField DeviceAttributes "maybe'locality" (Maybe DeviceLocality) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "maybe'locality" -> (Maybe DeviceLocality -> f (Maybe DeviceLocality)) -> DeviceAttributes -> f DeviceAttributes

data DeviceLocality Source #

Fields :

  • busId :: Lens' DeviceLocality Data.Int.Int32
  • numaNode :: Lens' DeviceLocality Data.Int.Int32
  • links :: Lens' DeviceLocality LocalLinks
  • maybe'links :: Lens' DeviceLocality (Prelude.Maybe LocalLinks)

Instances

Instances details
Eq DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Ord DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Show DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

NFData DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

rnf :: DeviceLocality -> () #

Message DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

HasField DeviceLocality "busId" Int32 Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "busId" -> (Int32 -> f Int32) -> DeviceLocality -> f DeviceLocality

HasField DeviceLocality "links" LocalLinks Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "links" -> (LocalLinks -> f LocalLinks) -> DeviceLocality -> f DeviceLocality

HasField DeviceLocality "numaNode" Int32 Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "numaNode" -> (Int32 -> f Int32) -> DeviceLocality -> f DeviceLocality

HasField DeviceAttributes "locality" DeviceLocality Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

HasField DeviceLocality "maybe'links" (Maybe LocalLinks) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "maybe'links" -> (Maybe LocalLinks -> f (Maybe LocalLinks)) -> DeviceLocality -> f DeviceLocality

HasField DeviceAttributes "maybe'locality" (Maybe DeviceLocality) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.DeviceAttributes

Methods

fieldOf :: Functor f => Proxy# "maybe'locality" -> (Maybe DeviceLocality -> f (Maybe DeviceLocality)) -> DeviceAttributes -> f DeviceAttributes

data InterconnectLink Source #

Fields :

  • deviceId :: Lens' InterconnectLink Data.Int.Int32
  • type' :: Lens' InterconnectLink Data.Text.Text
  • strength :: Lens' InterconnectLink Data.Int.Int32

Instances

data LocalLinks Source #

Fields :

  • link :: Lens' LocalLinks [InterconnectLink]
  • vec'link :: Lens' LocalLinks (Data.Vector.Vector InterconnectLink)

Instances