c
org.tensorflow.framework.tensor_description
TensorDescription
Companion object TensorDescription
final case class TensorDescription(dtype: DataType = ..., shape: Option[TensorShapeProto] = _root_.scala.None, allocationDescription: Option[AllocationDescription] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[TensorDescription] with Product with Serializable
- dtype
Data type of tensor elements
- shape
Shape of the tensor.
- allocationDescription
Information about the size and allocator used for the data
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TensorDescription
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
TensorDescription(dtype: DataType = ..., shape: Option[TensorShapeProto] = _root_.scala.None, allocationDescription: Option[AllocationDescription] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)
- dtype
Data type of tensor elements
- shape
Shape of the tensor.
- allocationDescription
Information about the size and allocator used for the data
Value Members
- val allocationDescription: Option[AllocationDescription]
- def clearAllocationDescription: TensorDescription
- def clearShape: TensorDescription
-
def
companion: TensorDescription.type
- Definition Classes
- TensorDescription → GeneratedMessage
- def discardUnknownFields: TensorDescription
- val dtype: DataType
- def getAllocationDescription: AllocationDescription
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- TensorDescription → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- TensorDescription → GeneratedMessage
- def getShape: TensorShapeProto
-
def
serializedSize: Int
- Definition Classes
- TensorDescription → GeneratedMessage
- val shape: Option[TensorShapeProto]
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- TensorDescription → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[TensorDescription, TensorDescription]) ⇒ Mutation[TensorDescription]*): TensorDescription
- Definition Classes
- Updatable
- def withAllocationDescription(__v: AllocationDescription): TensorDescription
- def withDtype(__v: DataType): TensorDescription
- def withShape(__v: TensorShapeProto): TensorDescription
- def withUnknownFields(__v: UnknownFieldSet): TensorDescription
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- TensorDescription → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage