Class/Object

org.platanios.tensorflow.api.io

CheckpointReader

Related Docs: object CheckpointReader | package io

Permalink

class CheckpointReader extends utilities.Closeable

Helper class for reading checkpoint files.

This class currently only interacts with single-slice (i.e., non-partitioned) variables.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckpointReader
  2. Closeable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Releases the native resources associated with this object.

    Releases the native resources associated with this object.

    Definition Classes
    Closeable
  7. val closeFn: () ⇒ Unit

    Permalink

    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).

    Attributes
    protected
    Definition Classes
    CheckpointReaderCloseable
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getTensor[D <: types.DataType](name: String): Option[tensors.Tensor[D]]

    Permalink

    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.

    name

    Tensor name.

    returns

    Found (or not) tensor.

    Annotations
    @throws( ... )
    Exceptions thrown

    UnavailableException If this checkpoint reader object has already been disposed.

  13. def hasTensor(name: String): Boolean

    Permalink

    Checks if the checkpoint file contains a tensor named name.

    Checks if the checkpoint file contains a tensor named name.

    name

    Tensor name.

    returns

    true if the tensor exists in the checkpoint file and false otherwise.

    Annotations
    @throws( ... )
    Exceptions thrown

    UnavailableException If this checkpoint reader object has already been disposed.

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def variableDataTypes: Map[String, types.DataType]

    Permalink

    Returns a map from variable name to data type, for all variables containing in this checkpoint.

  22. def variableShapes: Map[String, core.Shape]

    Permalink

    Returns a map from variable name to shape, for all variables containing in this checkpoint.

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from utilities.Closeable

Inherited from AnyRef

Inherited from Any

Ungrouped