TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
getFullName()
The full name of the variable/tensor, if applicable.
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
boolean
|
getOptionalRestore()
Whether checkpoints should be considered as matching even without this
value restored.
|
Public Methods
public
abstract
String
getCheckpointKey
()
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
public
abstract
com.google.protobuf.ByteString
getCheckpointKeyBytes
()
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
public
abstract
String
getFullName
()
The full name of the variable/tensor, if applicable. Used to allow
name-based loading of checkpoints which were saved using an
object-based API. Should match the checkpoint key which would have been
assigned by tf.train.Saver.
string full_name = 2;
public
abstract
com.google.protobuf.ByteString
getFullNameBytes
()
The full name of the variable/tensor, if applicable. Used to allow
name-based loading of checkpoints which were saved using an
object-based API. Should match the checkpoint key which would have been
assigned by tf.train.Saver.
string full_name = 2;
public
abstract
String
getName
()
A name for the Tensor. Simple variables have only one
`SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
be restored on object creation as an optimization.
string name = 1;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
A name for the Tensor. Simple variables have only one
`SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
be restored on object creation as an optimization.
string name = 1;
public
abstract
boolean
getOptionalRestore
()
Whether checkpoints should be considered as matching even without this
value restored. Used for non-critical values which don't affect the
TensorFlow graph, such as layer configurations.
bool optional_restore = 4;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder\n\npublic static interface **TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [TrackableObjectGraph.TrackableObject.SerializedTensor](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensor), [TrackableObjectGraph.TrackableObject.SerializedTensor.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensor.Builder) |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------| | [TrackableObjectGraph.TrackableObject.SerializedTensor](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensor) | Protobuf type `tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor` | | [TrackableObjectGraph.TrackableObject.SerializedTensor.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensor.Builder) | Protobuf type `tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor` | |||\n\n### Public Methods\n\n|-----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getCheckpointKey](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getCheckpointKey())() ``` The generated name of the Tensor in the checkpoint. ``` |\n| abstract com.google.protobuf.ByteString | [getCheckpointKeyBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getCheckpointKeyBytes())() ``` The generated name of the Tensor in the checkpoint. ``` |\n| abstract String | [getFullName](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getFullName())() ``` The full name of the variable/tensor, if applicable. ``` |\n| abstract com.google.protobuf.ByteString | [getFullNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getFullNameBytes())() ``` The full name of the variable/tensor, if applicable. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getName())() ``` A name for the Tensor. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getNameBytes())() ``` A name for the Tensor. ``` |\n| abstract boolean | [getOptionalRestore](/jvm/api_docs/java/org/tensorflow/proto/framework/TrackableObjectGraph.TrackableObject.SerializedTensorOrBuilder#getOptionalRestore())() ``` Whether checkpoints should be considered as matching even without this value restored. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getCheckpointKey**\n()\n\n\u003cbr /\u003e\n\n```\n The generated name of the Tensor in the checkpoint.\n \n```\n`string checkpoint_key = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getCheckpointKeyBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The generated name of the Tensor in the checkpoint.\n \n```\n`string checkpoint_key = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getFullName**\n()\n\n\u003cbr /\u003e\n\n```\n The full name of the variable/tensor, if applicable. Used to allow\n name-based loading of checkpoints which were saved using an\n object-based API. Should match the checkpoint key which would have been\n assigned by tf.train.Saver.\n \n```\n`string full_name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getFullNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The full name of the variable/tensor, if applicable. Used to allow\n name-based loading of checkpoints which were saved using an\n object-based API. Should match the checkpoint key which would have been\n assigned by tf.train.Saver.\n \n```\n`string full_name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n A name for the Tensor. Simple variables have only one\n `SerializedTensor` named \"VARIABLE_VALUE\" by convention. This value may\n be restored on object creation as an optimization.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n A name for the Tensor. Simple variables have only one\n `SerializedTensor` named \"VARIABLE_VALUE\" by convention. This value may\n be restored on object creation as an optimization.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**getOptionalRestore**\n()\n\n\u003cbr /\u003e\n\n```\n Whether checkpoints should be considered as matching even without this\n value restored. Used for non-critical values which don't affect the\n TensorFlow graph, such as layer configurations.\n \n```\n`bool optional_restore = 4;`\n\n\u003cbr /\u003e"]]