public final class
SavedUserObject
A SavedUserObject is an object (in the object-oriented language of the TensorFlow program) of some user- or framework-defined class other than those handled specifically by the other kinds of SavedObjects. This object cannot be evaluated as a tensor, and therefore cannot be bound to an input of a function.
tensorflow.SavedUserObject
Nested Classes
class | SavedUserObject.Builder | A SavedUserObject is an object (in the object-oriented language of the TensorFlow program) of some user- or framework-defined class other than those handled specifically by the other kinds of SavedObjects. |
Constants
int | IDENTIFIER_FIELD_NUMBER | |
int | METADATA_FIELD_NUMBER | |
int | VERSION_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static SavedUserObject | |
SavedUserObject | |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getIdentifier()
Corresponds to a registration of the type to use in the loading program. |
com.google.protobuf.ByteString |
getIdentifierBytes()
Corresponds to a registration of the type to use in the loading program. |
String |
getMetadata()
Initialization-related metadata. |
com.google.protobuf.ByteString |
getMetadataBytes()
Initialization-related metadata. |
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
VersionDef |
getVersion()
Version information from the producer of this SavedUserObject. |
VersionDefOrBuilder |
getVersionOrBuilder()
Version information from the producer of this SavedUserObject. |
boolean |
hasVersion()
Version information from the producer of this SavedUserObject. |
int |
hashCode()
|
final boolean | |
static SavedUserObject.Builder |
newBuilder(SavedUserObject prototype)
|
static SavedUserObject.Builder | |
SavedUserObject.Builder | |
static SavedUserObject |
parseDelimitedFrom(InputStream input)
|
static SavedUserObject |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedUserObject |
parseFrom(ByteBuffer data)
|
static SavedUserObject |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedUserObject |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedUserObject |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SavedUserObject |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedUserObject |
parseFrom(com.google.protobuf.ByteString data)
|
static SavedUserObject |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedUserObject |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SavedUserObject.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int IDENTIFIER_FIELD_NUMBER
Constant Value:
1
public static final int METADATA_FIELD_NUMBER
Constant Value:
3
public static final int VERSION_FIELD_NUMBER
Constant Value:
2
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getIdentifier ()
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public com.google.protobuf.ByteString getIdentifierBytes ()
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public String getMetadata ()
Initialization-related metadata.
string metadata = 3;
public com.google.protobuf.ByteString getMetadataBytes ()
Initialization-related metadata.
string metadata = 3;
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public VersionDef getVersion ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public VersionDefOrBuilder getVersionOrBuilder ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public boolean hasVersion ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public int hashCode ()
public final boolean isInitialized ()
public static SavedUserObject parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedUserObject parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedUserObject parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedUserObject parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static SavedUserObject parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedUserObject parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SavedUserObject parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedUserObject parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|