{- This file was auto-generated from tensorflow/core/framework/cost_graph.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-unused-imports#-} module Proto.Tensorflow.Core.Framework.CostGraph where import qualified Data.ProtoLens.Reexport.Prelude as Prelude import qualified Data.ProtoLens.Reexport.Data.Int as Data.Int import qualified Data.ProtoLens.Reexport.Data.Word as Data.Word import qualified Data.ProtoLens.Reexport.Data.ProtoLens as Data.ProtoLens import qualified Data.ProtoLens.Reexport.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum import qualified Data.ProtoLens.Reexport.Lens.Family2 as Lens.Family2 import qualified Data.ProtoLens.Reexport.Lens.Family2.Unchecked as Lens.Family2.Unchecked import qualified Data.ProtoLens.Reexport.Data.Default.Class as Data.Default.Class import qualified Data.ProtoLens.Reexport.Data.Text as Data.Text import qualified Data.ProtoLens.Reexport.Data.Map as Data.Map import qualified Data.ProtoLens.Reexport.Data.ByteString as Data.ByteString import qualified Data.ProtoLens.Reexport.Lens.Labels as Lens.Labels import qualified Proto.Tensorflow.Core.Framework.TensorShape import qualified Proto.Tensorflow.Core.Framework.Types data CostGraphDef = CostGraphDef{_CostGraphDef'node :: ![CostGraphDef'Node]} deriving (Prelude.Show, Prelude.Eq, Prelude.Ord) instance (a ~ [CostGraphDef'Node], b ~ [CostGraphDef'Node], Prelude.Functor f) => Lens.Labels.HasLens "node" f CostGraphDef CostGraphDef a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'node (\ x__ y__ -> x__{_CostGraphDef'node = y__})) Prelude.id instance Data.Default.Class.Default CostGraphDef where def = CostGraphDef{_CostGraphDef'node = []} instance Data.ProtoLens.Message CostGraphDef where descriptor = let node__field_descriptor = Data.ProtoLens.FieldDescriptor "node" (Data.ProtoLens.MessageField :: Data.ProtoLens.FieldTypeDescriptor CostGraphDef'Node) (Data.ProtoLens.RepeatedField Data.ProtoLens.Unpacked node) :: Data.ProtoLens.FieldDescriptor CostGraphDef in Data.ProtoLens.MessageDescriptor (Data.Text.pack "tensorflow.CostGraphDef") (Data.Map.fromList [(Data.ProtoLens.Tag 1, node__field_descriptor)]) (Data.Map.fromList [("node", node__field_descriptor)]) data CostGraphDef'Node = CostGraphDef'Node{_CostGraphDef'Node'name :: !Data.Text.Text, _CostGraphDef'Node'device :: !Data.Text.Text, _CostGraphDef'Node'id :: !Data.Int.Int32, _CostGraphDef'Node'inputInfo :: ![CostGraphDef'Node'InputInfo], _CostGraphDef'Node'outputInfo :: ![CostGraphDef'Node'OutputInfo], _CostGraphDef'Node'temporaryMemorySize :: !Data.Int.Int64, _CostGraphDef'Node'persistentMemorySize :: !Data.Int.Int64, _CostGraphDef'Node'hostTempMemorySize :: !Data.Int.Int64, _CostGraphDef'Node'deviceTempMemorySize :: !Data.Int.Int64, _CostGraphDef'Node'devicePersistentMemorySize :: !Data.Int.Int64, _CostGraphDef'Node'computeCost :: !Data.Int.Int64, _CostGraphDef'Node'computeTime :: !Data.Int.Int64, _CostGraphDef'Node'memoryTime :: !Data.Int.Int64, _CostGraphDef'Node'isFinal :: !Prelude.Bool, _CostGraphDef'Node'controlInput :: ![Data.Int.Int32]} deriving (Prelude.Show, Prelude.Eq, Prelude.Ord) instance (a ~ Data.Text.Text, b ~ Data.Text.Text, Prelude.Functor f) => Lens.Labels.HasLens "name" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'name (\ x__ y__ -> x__{_CostGraphDef'Node'name = y__})) Prelude.id instance (a ~ Data.Text.Text, b ~ Data.Text.Text, Prelude.Functor f) => Lens.Labels.HasLens "device" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'device (\ x__ y__ -> x__{_CostGraphDef'Node'device = y__})) Prelude.id instance (a ~ Data.Int.Int32, b ~ Data.Int.Int32, Prelude.Functor f) => Lens.Labels.HasLens "id" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'id (\ x__ y__ -> x__{_CostGraphDef'Node'id = y__})) Prelude.id instance (a ~ [CostGraphDef'Node'InputInfo], b ~ [CostGraphDef'Node'InputInfo], Prelude.Functor f) => Lens.Labels.HasLens "inputInfo" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'inputInfo (\ x__ y__ -> x__{_CostGraphDef'Node'inputInfo = y__})) Prelude.id instance (a ~ [CostGraphDef'Node'OutputInfo], b ~ [CostGraphDef'Node'OutputInfo], Prelude.Functor f) => Lens.Labels.HasLens "outputInfo" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'outputInfo (\ x__ y__ -> x__{_CostGraphDef'Node'outputInfo = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "temporaryMemorySize" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'temporaryMemorySize (\ x__ y__ -> x__{_CostGraphDef'Node'temporaryMemorySize = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "persistentMemorySize" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'persistentMemorySize (\ x__ y__ -> x__{_CostGraphDef'Node'persistentMemorySize = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "hostTempMemorySize" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'hostTempMemorySize (\ x__ y__ -> x__{_CostGraphDef'Node'hostTempMemorySize = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "deviceTempMemorySize" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'deviceTempMemorySize (\ x__ y__ -> x__{_CostGraphDef'Node'deviceTempMemorySize = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "devicePersistentMemorySize" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'devicePersistentMemorySize (\ x__ y__ -> x__{_CostGraphDef'Node'devicePersistentMemorySize = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "computeCost" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'computeCost (\ x__ y__ -> x__{_CostGraphDef'Node'computeCost = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "computeTime" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'computeTime (\ x__ y__ -> x__{_CostGraphDef'Node'computeTime = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "memoryTime" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'memoryTime (\ x__ y__ -> x__{_CostGraphDef'Node'memoryTime = y__})) Prelude.id instance (a ~ Prelude.Bool, b ~ Prelude.Bool, Prelude.Functor f) => Lens.Labels.HasLens "isFinal" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'isFinal (\ x__ y__ -> x__{_CostGraphDef'Node'isFinal = y__})) Prelude.id instance (a ~ [Data.Int.Int32], b ~ [Data.Int.Int32], Prelude.Functor f) => Lens.Labels.HasLens "controlInput" f CostGraphDef'Node CostGraphDef'Node a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'controlInput (\ x__ y__ -> x__{_CostGraphDef'Node'controlInput = y__})) Prelude.id instance Data.Default.Class.Default CostGraphDef'Node where def = CostGraphDef'Node{_CostGraphDef'Node'name = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'device = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'id = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'inputInfo = [], _CostGraphDef'Node'outputInfo = [], _CostGraphDef'Node'temporaryMemorySize = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'persistentMemorySize = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'hostTempMemorySize = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'deviceTempMemorySize = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'devicePersistentMemorySize = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'computeCost = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'computeTime = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'memoryTime = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'isFinal = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'controlInput = []} instance Data.ProtoLens.Message CostGraphDef'Node where descriptor = let name__field_descriptor = Data.ProtoLens.FieldDescriptor "name" (Data.ProtoLens.StringField :: Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.PlainField Data.ProtoLens.Optional name) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node device__field_descriptor = Data.ProtoLens.FieldDescriptor "device" (Data.ProtoLens.StringField :: Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.PlainField Data.ProtoLens.Optional device) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node id__field_descriptor = Data.ProtoLens.FieldDescriptor "id" (Data.ProtoLens.Int32Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) (Data.ProtoLens.PlainField Data.ProtoLens.Optional id) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node inputInfo__field_descriptor = Data.ProtoLens.FieldDescriptor "input_info" (Data.ProtoLens.MessageField :: Data.ProtoLens.FieldTypeDescriptor CostGraphDef'Node'InputInfo) (Data.ProtoLens.RepeatedField Data.ProtoLens.Unpacked inputInfo) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node outputInfo__field_descriptor = Data.ProtoLens.FieldDescriptor "output_info" (Data.ProtoLens.MessageField :: Data.ProtoLens.FieldTypeDescriptor CostGraphDef'Node'OutputInfo) (Data.ProtoLens.RepeatedField Data.ProtoLens.Unpacked outputInfo) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node temporaryMemorySize__field_descriptor = Data.ProtoLens.FieldDescriptor "temporary_memory_size" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional temporaryMemorySize) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node persistentMemorySize__field_descriptor = Data.ProtoLens.FieldDescriptor "persistent_memory_size" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional persistentMemorySize) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node hostTempMemorySize__field_descriptor = Data.ProtoLens.FieldDescriptor "host_temp_memory_size" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional hostTempMemorySize) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node deviceTempMemorySize__field_descriptor = Data.ProtoLens.FieldDescriptor "device_temp_memory_size" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional deviceTempMemorySize) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node devicePersistentMemorySize__field_descriptor = Data.ProtoLens.FieldDescriptor "device_persistent_memory_size" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional devicePersistentMemorySize) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node computeCost__field_descriptor = Data.ProtoLens.FieldDescriptor "compute_cost" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional computeCost) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node computeTime__field_descriptor = Data.ProtoLens.FieldDescriptor "compute_time" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional computeTime) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node memoryTime__field_descriptor = Data.ProtoLens.FieldDescriptor "memory_time" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional memoryTime) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node isFinal__field_descriptor = Data.ProtoLens.FieldDescriptor "is_final" (Data.ProtoLens.BoolField :: Data.ProtoLens.FieldTypeDescriptor Prelude.Bool) (Data.ProtoLens.PlainField Data.ProtoLens.Optional isFinal) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node controlInput__field_descriptor = Data.ProtoLens.FieldDescriptor "control_input" (Data.ProtoLens.Int32Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) (Data.ProtoLens.RepeatedField Data.ProtoLens.Packed controlInput) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node in Data.ProtoLens.MessageDescriptor (Data.Text.pack "tensorflow.CostGraphDef.Node") (Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor), (Data.ProtoLens.Tag 2, device__field_descriptor), (Data.ProtoLens.Tag 3, id__field_descriptor), (Data.ProtoLens.Tag 4, inputInfo__field_descriptor), (Data.ProtoLens.Tag 5, outputInfo__field_descriptor), (Data.ProtoLens.Tag 6, temporaryMemorySize__field_descriptor), (Data.ProtoLens.Tag 12, persistentMemorySize__field_descriptor), (Data.ProtoLens.Tag 10, hostTempMemorySize__field_descriptor), (Data.ProtoLens.Tag 11, deviceTempMemorySize__field_descriptor), (Data.ProtoLens.Tag 16, devicePersistentMemorySize__field_descriptor), (Data.ProtoLens.Tag 9, computeCost__field_descriptor), (Data.ProtoLens.Tag 14, computeTime__field_descriptor), (Data.ProtoLens.Tag 15, memoryTime__field_descriptor), (Data.ProtoLens.Tag 7, isFinal__field_descriptor), (Data.ProtoLens.Tag 8, controlInput__field_descriptor)]) (Data.Map.fromList [("name", name__field_descriptor), ("device", device__field_descriptor), ("id", id__field_descriptor), ("input_info", inputInfo__field_descriptor), ("output_info", outputInfo__field_descriptor), ("temporary_memory_size", temporaryMemorySize__field_descriptor), ("persistent_memory_size", persistentMemorySize__field_descriptor), ("host_temp_memory_size", hostTempMemorySize__field_descriptor), ("device_temp_memory_size", deviceTempMemorySize__field_descriptor), ("device_persistent_memory_size", devicePersistentMemorySize__field_descriptor), ("compute_cost", computeCost__field_descriptor), ("compute_time", computeTime__field_descriptor), ("memory_time", memoryTime__field_descriptor), ("is_final", isFinal__field_descriptor), ("control_input", controlInput__field_descriptor)]) data CostGraphDef'Node'InputInfo = CostGraphDef'Node'InputInfo{_CostGraphDef'Node'InputInfo'precedingNode :: !Data.Int.Int32, _CostGraphDef'Node'InputInfo'precedingPort :: !Data.Int.Int32} deriving (Prelude.Show, Prelude.Eq, Prelude.Ord) instance (a ~ Data.Int.Int32, b ~ Data.Int.Int32, Prelude.Functor f) => Lens.Labels.HasLens "precedingNode" f CostGraphDef'Node'InputInfo CostGraphDef'Node'InputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'InputInfo'precedingNode (\ x__ y__ -> x__{_CostGraphDef'Node'InputInfo'precedingNode = y__})) Prelude.id instance (a ~ Data.Int.Int32, b ~ Data.Int.Int32, Prelude.Functor f) => Lens.Labels.HasLens "precedingPort" f CostGraphDef'Node'InputInfo CostGraphDef'Node'InputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'InputInfo'precedingPort (\ x__ y__ -> x__{_CostGraphDef'Node'InputInfo'precedingPort = y__})) Prelude.id instance Data.Default.Class.Default CostGraphDef'Node'InputInfo where def = CostGraphDef'Node'InputInfo{_CostGraphDef'Node'InputInfo'precedingNode = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'InputInfo'precedingPort = Data.ProtoLens.fieldDefault} instance Data.ProtoLens.Message CostGraphDef'Node'InputInfo where descriptor = let precedingNode__field_descriptor = Data.ProtoLens.FieldDescriptor "preceding_node" (Data.ProtoLens.Int32Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) (Data.ProtoLens.PlainField Data.ProtoLens.Optional precedingNode) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node'InputInfo precedingPort__field_descriptor = Data.ProtoLens.FieldDescriptor "preceding_port" (Data.ProtoLens.Int32Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32) (Data.ProtoLens.PlainField Data.ProtoLens.Optional precedingPort) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node'InputInfo in Data.ProtoLens.MessageDescriptor (Data.Text.pack "tensorflow.CostGraphDef.Node.InputInfo") (Data.Map.fromList [(Data.ProtoLens.Tag 1, precedingNode__field_descriptor), (Data.ProtoLens.Tag 2, precedingPort__field_descriptor)]) (Data.Map.fromList [("preceding_node", precedingNode__field_descriptor), ("preceding_port", precedingPort__field_descriptor)]) data CostGraphDef'Node'OutputInfo = CostGraphDef'Node'OutputInfo{_CostGraphDef'Node'OutputInfo'size :: !Data.Int.Int64, _CostGraphDef'Node'OutputInfo'aliasInputPort :: !Data.Int.Int64, _CostGraphDef'Node'OutputInfo'shape :: !(Prelude.Maybe Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto), _CostGraphDef'Node'OutputInfo'dtype :: !Proto.Tensorflow.Core.Framework.Types.DataType} deriving (Prelude.Show, Prelude.Eq, Prelude.Ord) instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "size" f CostGraphDef'Node'OutputInfo CostGraphDef'Node'OutputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'OutputInfo'size (\ x__ y__ -> x__{_CostGraphDef'Node'OutputInfo'size = y__})) Prelude.id instance (a ~ Data.Int.Int64, b ~ Data.Int.Int64, Prelude.Functor f) => Lens.Labels.HasLens "aliasInputPort" f CostGraphDef'Node'OutputInfo CostGraphDef'Node'OutputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'OutputInfo'aliasInputPort (\ x__ y__ -> x__{_CostGraphDef'Node'OutputInfo'aliasInputPort = y__})) Prelude.id instance (a ~ Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto, b ~ Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto, Prelude.Functor f) => Lens.Labels.HasLens "shape" f CostGraphDef'Node'OutputInfo CostGraphDef'Node'OutputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'OutputInfo'shape (\ x__ y__ -> x__{_CostGraphDef'Node'OutputInfo'shape = y__})) (Data.ProtoLens.maybeLens Data.Default.Class.def) instance (a ~ Prelude.Maybe Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto, b ~ Prelude.Maybe Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto, Prelude.Functor f) => Lens.Labels.HasLens "maybe'shape" f CostGraphDef'Node'OutputInfo CostGraphDef'Node'OutputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'OutputInfo'shape (\ x__ y__ -> x__{_CostGraphDef'Node'OutputInfo'shape = y__})) Prelude.id instance (a ~ Proto.Tensorflow.Core.Framework.Types.DataType, b ~ Proto.Tensorflow.Core.Framework.Types.DataType, Prelude.Functor f) => Lens.Labels.HasLens "dtype" f CostGraphDef'Node'OutputInfo CostGraphDef'Node'OutputInfo a b where lensOf _ = (Prelude..) (Lens.Family2.Unchecked.lens _CostGraphDef'Node'OutputInfo'dtype (\ x__ y__ -> x__{_CostGraphDef'Node'OutputInfo'dtype = y__})) Prelude.id instance Data.Default.Class.Default CostGraphDef'Node'OutputInfo where def = CostGraphDef'Node'OutputInfo{_CostGraphDef'Node'OutputInfo'size = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'OutputInfo'aliasInputPort = Data.ProtoLens.fieldDefault, _CostGraphDef'Node'OutputInfo'shape = Prelude.Nothing, _CostGraphDef'Node'OutputInfo'dtype = Data.Default.Class.def} instance Data.ProtoLens.Message CostGraphDef'Node'OutputInfo where descriptor = let size__field_descriptor = Data.ProtoLens.FieldDescriptor "size" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional size) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node'OutputInfo aliasInputPort__field_descriptor = Data.ProtoLens.FieldDescriptor "alias_input_port" (Data.ProtoLens.Int64Field :: Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64) (Data.ProtoLens.PlainField Data.ProtoLens.Optional aliasInputPort) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node'OutputInfo shape__field_descriptor = Data.ProtoLens.FieldDescriptor "shape" (Data.ProtoLens.MessageField :: Data.ProtoLens.FieldTypeDescriptor Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto) (Data.ProtoLens.OptionalField maybe'shape) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node'OutputInfo dtype__field_descriptor = Data.ProtoLens.FieldDescriptor "dtype" (Data.ProtoLens.EnumField :: Data.ProtoLens.FieldTypeDescriptor Proto.Tensorflow.Core.Framework.Types.DataType) (Data.ProtoLens.PlainField Data.ProtoLens.Optional dtype) :: Data.ProtoLens.FieldDescriptor CostGraphDef'Node'OutputInfo in Data.ProtoLens.MessageDescriptor (Data.Text.pack "tensorflow.CostGraphDef.Node.OutputInfo") (Data.Map.fromList [(Data.ProtoLens.Tag 1, size__field_descriptor), (Data.ProtoLens.Tag 2, aliasInputPort__field_descriptor), (Data.ProtoLens.Tag 3, shape__field_descriptor), (Data.ProtoLens.Tag 4, dtype__field_descriptor)]) (Data.Map.fromList [("size", size__field_descriptor), ("alias_input_port", aliasInputPort__field_descriptor), ("shape", shape__field_descriptor), ("dtype", dtype__field_descriptor)]) aliasInputPort :: forall f s t a b . (Lens.Labels.HasLens "aliasInputPort" f s t a b) => Lens.Family2.LensLike f s t a b aliasInputPort = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "aliasInputPort") computeCost :: forall f s t a b . (Lens.Labels.HasLens "computeCost" f s t a b) => Lens.Family2.LensLike f s t a b computeCost = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "computeCost") computeTime :: forall f s t a b . (Lens.Labels.HasLens "computeTime" f s t a b) => Lens.Family2.LensLike f s t a b computeTime = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "computeTime") controlInput :: forall f s t a b . (Lens.Labels.HasLens "controlInput" f s t a b) => Lens.Family2.LensLike f s t a b controlInput = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "controlInput") device :: forall f s t a b . (Lens.Labels.HasLens "device" f s t a b) => Lens.Family2.LensLike f s t a b device = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "device") devicePersistentMemorySize :: forall f s t a b . (Lens.Labels.HasLens "devicePersistentMemorySize" f s t a b) => Lens.Family2.LensLike f s t a b devicePersistentMemorySize = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "devicePersistentMemorySize") deviceTempMemorySize :: forall f s t a b . (Lens.Labels.HasLens "deviceTempMemorySize" f s t a b) => Lens.Family2.LensLike f s t a b deviceTempMemorySize = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "deviceTempMemorySize") dtype :: forall f s t a b . (Lens.Labels.HasLens "dtype" f s t a b) => Lens.Family2.LensLike f s t a b dtype = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "dtype") hostTempMemorySize :: forall f s t a b . (Lens.Labels.HasLens "hostTempMemorySize" f s t a b) => Lens.Family2.LensLike f s t a b hostTempMemorySize = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "hostTempMemorySize") id :: forall f s t a b . (Lens.Labels.HasLens "id" f s t a b) => Lens.Family2.LensLike f s t a b id = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "id") inputInfo :: forall f s t a b . (Lens.Labels.HasLens "inputInfo" f s t a b) => Lens.Family2.LensLike f s t a b inputInfo = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "inputInfo") isFinal :: forall f s t a b . (Lens.Labels.HasLens "isFinal" f s t a b) => Lens.Family2.LensLike f s t a b isFinal = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "isFinal") maybe'shape :: forall f s t a b . (Lens.Labels.HasLens "maybe'shape" f s t a b) => Lens.Family2.LensLike f s t a b maybe'shape = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "maybe'shape") memoryTime :: forall f s t a b . (Lens.Labels.HasLens "memoryTime" f s t a b) => Lens.Family2.LensLike f s t a b memoryTime = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "memoryTime") name :: forall f s t a b . (Lens.Labels.HasLens "name" f s t a b) => Lens.Family2.LensLike f s t a b name = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "name") node :: forall f s t a b . (Lens.Labels.HasLens "node" f s t a b) => Lens.Family2.LensLike f s t a b node = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "node") outputInfo :: forall f s t a b . (Lens.Labels.HasLens "outputInfo" f s t a b) => Lens.Family2.LensLike f s t a b outputInfo = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "outputInfo") persistentMemorySize :: forall f s t a b . (Lens.Labels.HasLens "persistentMemorySize" f s t a b) => Lens.Family2.LensLike f s t a b persistentMemorySize = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "persistentMemorySize") precedingNode :: forall f s t a b . (Lens.Labels.HasLens "precedingNode" f s t a b) => Lens.Family2.LensLike f s t a b precedingNode = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "precedingNode") precedingPort :: forall f s t a b . (Lens.Labels.HasLens "precedingPort" f s t a b) => Lens.Family2.LensLike f s t a b precedingPort = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "precedingPort") shape :: forall f s t a b . (Lens.Labels.HasLens "shape" f s t a b) => Lens.Family2.LensLike f s t a b shape = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "shape") size :: forall f s t a b . (Lens.Labels.HasLens "size" f s t a b) => Lens.Family2.LensLike f s t a b size = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "size") temporaryMemorySize :: forall f s t a b . (Lens.Labels.HasLens "temporaryMemorySize" f s t a b) => Lens.Family2.LensLike f s t a b temporaryMemorySize = Lens.Labels.lensOf ((Lens.Labels.proxy#) :: (Lens.Labels.Proxy#) "temporaryMemorySize")