Releases the native resources associated with this object.
Releases the native resources associated with this object.
Function used to delete the native checkpoint reader object (i.e., free relevant memory).
Function used to delete the native checkpoint reader object (i.e., free relevant memory).
Attempts to look up the tensor named name
in the checkpoint file.
Attempts to look up the tensor named name
in the checkpoint file. If found, the tensor is returned, otherwise
None
is returned.
Tensor name.
Found (or not) tensor.
UnavailableException
If this checkpoint reader object has already been disposed.
Checks if the checkpoint file contains a tensor named name
.
Checks if the checkpoint file contains a tensor named name
.
Tensor name.
true
if the tensor exists in the checkpoint file and false
otherwise.
UnavailableException
If this checkpoint reader object has already been disposed.
Returns a map from variable name to data type, for all variables containing in this checkpoint.
Returns a map from variable name to shape, for all variables containing in this checkpoint.
Helper class for reading checkpoint files.
This class currently only interacts with single-slice (i.e., non-partitioned) variables.