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

Proto.Tensorflow.Core.Framework.Tensor

Synopsis

Documentation

data TensorProto Source #

Fields :

  • dtype :: Lens' TensorProto Proto.Tensorflow.Core.Framework.Types.DataType
  • tensorShape :: Lens' TensorProto Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto
  • maybe'tensorShape :: Lens' TensorProto (Prelude.Maybe Proto.Tensorflow.Core.Framework.TensorShape.TensorShapeProto)
  • versionNumber :: Lens' TensorProto Data.Int.Int32
  • tensorContent :: Lens' TensorProto Data.ByteString.ByteString
  • halfVal :: Lens' TensorProto [Data.Int.Int32]
  • vec'halfVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Data.Int.Int32)
  • floatVal :: Lens' TensorProto [Prelude.Float]
  • vec'floatVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Prelude.Float)
  • doubleVal :: Lens' TensorProto [Prelude.Double]
  • vec'doubleVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Prelude.Double)
  • intVal :: Lens' TensorProto [Data.Int.Int32]
  • vec'intVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Data.Int.Int32)
  • stringVal :: Lens' TensorProto [Data.ByteString.ByteString]
  • vec'stringVal :: Lens' TensorProto (Data.Vector.Vector Data.ByteString.ByteString)
  • scomplexVal :: Lens' TensorProto [Prelude.Float]
  • vec'scomplexVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Prelude.Float)
  • int64Val :: Lens' TensorProto [Data.Int.Int64]
  • vec'int64Val :: Lens' TensorProto (Data.Vector.Unboxed.Vector Data.Int.Int64)
  • boolVal :: Lens' TensorProto [Prelude.Bool]
  • vec'boolVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Prelude.Bool)
  • dcomplexVal :: Lens' TensorProto [Prelude.Double]
  • vec'dcomplexVal :: Lens' TensorProto (Data.Vector.Unboxed.Vector Prelude.Double)
  • resourceHandleVal :: Lens' TensorProto [Proto.Tensorflow.Core.Framework.ResourceHandle.ResourceHandleProto]
  • vec'resourceHandleVal :: Lens' TensorProto (Data.Vector.Vector Proto.Tensorflow.Core.Framework.ResourceHandle.ResourceHandleProto)
  • variantVal :: Lens' TensorProto [VariantTensorDataProto]
  • vec'variantVal :: Lens' TensorProto (Data.Vector.Vector VariantTensorDataProto)
  • uint32Val :: Lens' TensorProto [Data.Word.Word32]
  • vec'uint32Val :: Lens' TensorProto (Data.Vector.Unboxed.Vector Data.Word.Word32)
  • uint64Val :: Lens' TensorProto [Data.Word.Word64]
  • vec'uint64Val :: Lens' TensorProto (Data.Vector.Unboxed.Vector Data.Word.Word64)

Instances

Instances details
Eq TensorProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Ord TensorProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Show TensorProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

NFData TensorProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

rnf :: TensorProto -> () #

Message TensorProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField TensorProto "dtype" DataType Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "dtype" -> (DataType -> f DataType) -> TensorProto -> f TensorProto

HasField TensorProto "tensorContent" ByteString Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "tensorContent" -> (ByteString -> f ByteString) -> TensorProto -> f TensorProto

HasField TensorProto "tensorShape" TensorShapeProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "tensorShape" -> (TensorShapeProto -> f TensorShapeProto) -> TensorProto -> f TensorProto

HasField TensorProto "versionNumber" Int32 Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "versionNumber" -> (Int32 -> f Int32) -> TensorProto -> f TensorProto

HasField Summary'Value "tensor" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Summary

Methods

fieldOf :: Functor f => Proxy# "tensor" -> (TensorProto -> f TensorProto) -> Summary'Value -> f Summary'Value

HasField AttrValue "tensor" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Framework.AttrValue

Methods

fieldOf :: Functor f => Proxy# "tensor" -> (TensorProto -> f TensorProto) -> AttrValue -> f AttrValue

HasField FixedLenFeatureProto "defaultValue" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Example.ExampleParserConfiguration

HasField NamedTensorProto "tensor" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Protobuf.NamedTensor

HasField BoundedTensorSpecProto "maximum" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Protobuf.Struct

HasField BoundedTensorSpecProto "minimum" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Protobuf.Struct

HasField SavedSlice "data'" TensorProto 
Instance details

Defined in Proto.Tensorflow.Core.Util.SavedTensorSlice

Methods

fieldOf :: Functor f => Proxy# "data'" -> (TensorProto -> f TensorProto) -> SavedSlice -> f SavedSlice

HasField VariantTensorDataProto "tensors" [TensorProto] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField VariantTensorDataProto "vec'tensors" (Vector TensorProto) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'tensors" -> (Vector TensorProto -> f (Vector TensorProto)) -> VariantTensorDataProto -> f VariantTensorDataProto

HasField TensorProto "boolVal" [Bool] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "boolVal" -> ([Bool] -> f [Bool]) -> TensorProto -> f TensorProto

HasField TensorProto "dcomplexVal" [Double] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "dcomplexVal" -> ([Double] -> f [Double]) -> TensorProto -> f TensorProto

HasField TensorProto "doubleVal" [Double] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "doubleVal" -> ([Double] -> f [Double]) -> TensorProto -> f TensorProto

HasField TensorProto "floatVal" [Float] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "floatVal" -> ([Float] -> f [Float]) -> TensorProto -> f TensorProto

HasField TensorProto "halfVal" [Int32] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "halfVal" -> ([Int32] -> f [Int32]) -> TensorProto -> f TensorProto

HasField TensorProto "int64Val" [Int64] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "int64Val" -> ([Int64] -> f [Int64]) -> TensorProto -> f TensorProto

HasField TensorProto "intVal" [Int32] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "intVal" -> ([Int32] -> f [Int32]) -> TensorProto -> f TensorProto

HasField TensorProto "maybe'tensorShape" (Maybe TensorShapeProto) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "maybe'tensorShape" -> (Maybe TensorShapeProto -> f (Maybe TensorShapeProto)) -> TensorProto -> f TensorProto

HasField TensorProto "resourceHandleVal" [ResourceHandleProto] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "resourceHandleVal" -> ([ResourceHandleProto] -> f [ResourceHandleProto]) -> TensorProto -> f TensorProto

HasField TensorProto "scomplexVal" [Float] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "scomplexVal" -> ([Float] -> f [Float]) -> TensorProto -> f TensorProto

HasField TensorProto "stringVal" [ByteString] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "stringVal" -> ([ByteString] -> f [ByteString]) -> TensorProto -> f TensorProto

HasField TensorProto "uint32Val" [Word32] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "uint32Val" -> ([Word32] -> f [Word32]) -> TensorProto -> f TensorProto

HasField TensorProto "uint64Val" [Word64] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "uint64Val" -> ([Word64] -> f [Word64]) -> TensorProto -> f TensorProto

HasField TensorProto "variantVal" [VariantTensorDataProto] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField TensorProto "vec'boolVal" (Vector Bool) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'boolVal" -> (Vector Bool -> f (Vector Bool)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'dcomplexVal" (Vector Double) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'dcomplexVal" -> (Vector Double -> f (Vector Double)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'doubleVal" (Vector Double) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'doubleVal" -> (Vector Double -> f (Vector Double)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'floatVal" (Vector Float) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'floatVal" -> (Vector Float -> f (Vector Float)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'halfVal" (Vector Int32) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'halfVal" -> (Vector Int32 -> f (Vector Int32)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'int64Val" (Vector Int64) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'int64Val" -> (Vector Int64 -> f (Vector Int64)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'intVal" (Vector Int32) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'intVal" -> (Vector Int32 -> f (Vector Int32)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'resourceHandleVal" (Vector ResourceHandleProto) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'resourceHandleVal" -> (Vector ResourceHandleProto -> f (Vector ResourceHandleProto)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'scomplexVal" (Vector Float) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'scomplexVal" -> (Vector Float -> f (Vector Float)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'stringVal" (Vector ByteString) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'stringVal" -> (Vector ByteString -> f (Vector ByteString)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'uint32Val" (Vector Word32) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'uint32Val" -> (Vector Word32 -> f (Vector Word32)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'uint64Val" (Vector Word64) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'uint64Val" -> (Vector Word64 -> f (Vector Word64)) -> TensorProto -> f TensorProto

HasField TensorProto "vec'variantVal" (Vector VariantTensorDataProto) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'variantVal" -> (Vector VariantTensorDataProto -> f (Vector VariantTensorDataProto)) -> TensorProto -> f TensorProto

HasField Summary'Value "maybe'tensor" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Summary

Methods

fieldOf :: Functor f => Proxy# "maybe'tensor" -> (Maybe TensorProto -> f (Maybe TensorProto)) -> Summary'Value -> f Summary'Value

HasField AttrValue'ListValue "tensor" [TensorProto] 
Instance details

Defined in Proto.Tensorflow.Core.Framework.AttrValue

HasField AttrValue'ListValue "vec'tensor" (Vector TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Framework.AttrValue

Methods

fieldOf :: Functor f => Proxy# "vec'tensor" -> (Vector TensorProto -> f (Vector TensorProto)) -> AttrValue'ListValue -> f AttrValue'ListValue

HasField AttrValue "maybe'tensor" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Framework.AttrValue

Methods

fieldOf :: Functor f => Proxy# "maybe'tensor" -> (Maybe TensorProto -> f (Maybe TensorProto)) -> AttrValue -> f AttrValue

HasField FixedLenFeatureProto "maybe'defaultValue" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Example.ExampleParserConfiguration

Methods

fieldOf :: Functor f => Proxy# "maybe'defaultValue" -> (Maybe TensorProto -> f (Maybe TensorProto)) -> FixedLenFeatureProto -> f FixedLenFeatureProto

HasField NamedTensorProto "maybe'tensor" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Protobuf.NamedTensor

Methods

fieldOf :: Functor f => Proxy# "maybe'tensor" -> (Maybe TensorProto -> f (Maybe TensorProto)) -> NamedTensorProto -> f NamedTensorProto

HasField BoundedTensorSpecProto "maybe'maximum" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Protobuf.Struct

HasField BoundedTensorSpecProto "maybe'minimum" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Protobuf.Struct

HasField SavedSlice "maybe'data'" (Maybe TensorProto) 
Instance details

Defined in Proto.Tensorflow.Core.Util.SavedTensorSlice

Methods

fieldOf :: Functor f => Proxy# "maybe'data'" -> (Maybe TensorProto -> f (Maybe TensorProto)) -> SavedSlice -> f SavedSlice

data VariantTensorDataProto Source #

Fields :

  • typeName :: Lens' VariantTensorDataProto Data.Text.Text
  • metadata :: Lens' VariantTensorDataProto Data.ByteString.ByteString
  • tensors :: Lens' VariantTensorDataProto [TensorProto]
  • vec'tensors :: Lens' VariantTensorDataProto (Data.Vector.Vector TensorProto)

Instances

Instances details
Eq VariantTensorDataProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Ord VariantTensorDataProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Show VariantTensorDataProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

NFData VariantTensorDataProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

rnf :: VariantTensorDataProto -> () #

Message VariantTensorDataProto Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField VariantTensorDataProto "metadata" ByteString Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField VariantTensorDataProto "typeName" Text Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "typeName" -> (Text -> f Text) -> VariantTensorDataProto -> f VariantTensorDataProto

HasField VariantTensorDataProto "tensors" [TensorProto] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField VariantTensorDataProto "vec'tensors" (Vector TensorProto) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'tensors" -> (Vector TensorProto -> f (Vector TensorProto)) -> VariantTensorDataProto -> f VariantTensorDataProto

HasField TensorProto "variantVal" [VariantTensorDataProto] Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

HasField TensorProto "vec'variantVal" (Vector VariantTensorDataProto) Source # 
Instance details

Defined in Proto.Tensorflow.Core.Framework.Tensor

Methods

fieldOf :: Functor f => Proxy# "vec'variantVal" -> (Vector VariantTensorDataProto -> f (Vector VariantTensorDataProto)) -> TensorProto -> f TensorProto