org.tensorflow.framework.resource_handle
ResourceHandleProto
Companion object ResourceHandleProto
final case class ResourceHandleProto(device: String = "", container: String = "", name: String = "", _hashCode: Long = 0L, maybeTypeName: String = "", dtypesAndShapes: Seq[DtypeAndShape] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ResourceHandleProto] with Product with Serializable
Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.
- device
Unique name for the device containing the resource.
- container
Container in which this resource is placed.
- name
Unique name of this resource.
- _hashCode
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
- maybeTypeName
For debug-only, the name of the type pointed to by this handle, if available.
- dtypesAndShapes
Data types and shapes for the underlying resource.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ResourceHandleProto
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResourceHandleProto(device: String = "", container: String = "", name: String = "", _hashCode: Long = 0L, maybeTypeName: String = "", dtypesAndShapes: Seq[DtypeAndShape] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)
- device
Unique name for the device containing the resource.
- container
Container in which this resource is placed.
- name
Unique name of this resource.
- _hashCode
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
- maybeTypeName
For debug-only, the name of the type pointed to by this handle, if available.
- dtypesAndShapes
Data types and shapes for the underlying resource.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _hashCode: Long
- def addAllDtypesAndShapes(__vs: Iterable[DtypeAndShape]): ResourceHandleProto
- def addDtypesAndShapes(__vs: DtypeAndShape*): ResourceHandleProto
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearDtypesAndShapes: ResourceHandleProto
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: ResourceHandleProto.type
- Definition Classes
- ResourceHandleProto → GeneratedMessage
- val container: String
- val device: String
- def discardUnknownFields: ResourceHandleProto
- val dtypesAndShapes: Seq[DtypeAndShape]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- ResourceHandleProto → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ResourceHandleProto → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maybeTypeName: String
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
serializedSize: Int
- Definition Classes
- ResourceHandleProto → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- ResourceHandleProto → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[ResourceHandleProto, ResourceHandleProto]) ⇒ Mutation[ResourceHandleProto]*): ResourceHandleProto
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withContainer(__v: String): ResourceHandleProto
- def withDevice(__v: String): ResourceHandleProto
- def withDtypesAndShapes(__v: Seq[DtypeAndShape]): ResourceHandleProto
- def withHashCode(__v: Long): ResourceHandleProto
- def withMaybeTypeName(__v: String): ResourceHandleProto
- def withName(__v: String): ResourceHandleProto
- def withUnknownFields(__v: UnknownFieldSet): ResourceHandleProto
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ResourceHandleProto → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated