Object

org.platanios.tensorflow.api.core.Graph

Keys

Related Doc: package Graph

Permalink

object Keys

Contains standard names to use for graph collections.

The standard library uses various well-known names to collect and retrieve values associated with a graph. For example, the optimizers default to optimizing the variables collected under Graph.Keys.TRAINABLE_VARIABLES if none is specified, but it is also possible to pass an explicit list of variables.

Note: Whenever a new key is added, appropriate edits need to be made to the Keys.fromName function.

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

Type Members

  1. trait IntCollectionKey extends Key[Int]

    Permalink

    Key for collections of integers.

  2. trait OpCollectionKey extends Key[ops.Op]

    Permalink

    Key for collections of ops.

  3. trait OutputCollectionKey extends Key[ops.Output]

    Permalink

    Key for collections of op outputs.

  4. trait ResourceCollectionKey extends Key[Resource]

    Permalink

    Key for collections of resources.

  5. trait SaverCollectionKey extends Key[Saver]

    Permalink

    Key for collections of savers.

  6. trait StringCollectionKey extends Key[String]

    Permalink

    Key for collections of strings.

  7. trait VariableCollectionKey extends Key[ops.variables.Variable]

    Permalink

    Key for collections of variables.

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. object ACTIVATIONS extends OpCollectionKey

    Permalink

    Key to collect activations.

  5. object ASSET_FILEPATHS extends OutputCollectionKey

    Permalink

    Key to collect asset filepaths.

    Key to collect asset filepaths. An asset represents an external resource like a vocabulary file.

  6. object BIASES extends VariableCollectionKey

    Permalink

    Key to collect biases.

  7. object EVAL_STEP extends VariableCollectionKey

    Permalink
  8. object GLOBAL_EPOCH extends VariableCollectionKey

    Permalink
  9. object GLOBAL_STEP extends VariableCollectionKey

    Permalink
  10. object GLOBAL_VARIABLES extends VariableCollectionKey

    Permalink

    Key to collect the default collection of Variable objects, shared across distributed environment (model variables are subset of these).

    Key to collect the default collection of Variable objects, shared across distributed environment (model variables are subset of these). Commonly, all TRAINABLE_VARIABLES variables will be in MODEL_VARIABLES, and all MODEL_VARIABLES variables will be in GLOBAL_VARIABLES.

  11. object INIT_OP extends OpCollectionKey

    Permalink
  12. object LOCAL_INIT_OP extends OpCollectionKey

    Permalink
  13. object LOCAL_RESOURCES extends ResourceCollectionKey

    Permalink

    Key to collect all local resources used in this graph which need to be initialized once per session.

  14. object LOCAL_VARIABLES extends VariableCollectionKey

    Permalink

    Key to collect the subset of Variable objects that are local to each machine.

    Key to collect the subset of Variable objects that are local to each machine. Usually used for temporary variables, like counters.

  15. object LOSSES extends OutputCollectionKey

    Permalink

    Key to collect losses.

  16. object MODEL_VARIABLES extends VariableCollectionKey

    Permalink

    Key to collect the subset of Variable objects that are used in models for inference (feed forward).

    Key to collect the subset of Variable objects that are used in models for inference (feed forward). TODO: Note: use tf.contrib.framework.model_variable to add to this collection.

  17. object MOVING_AVERAGE_VARIABLES extends VariableCollectionKey

    Permalink

    Key to collect the subset of Variable objects that will also keep moving averages.

  18. object RANDOM_SEEDS extends IntCollectionKey

    Permalink

    Key to collect the graph random seed values.

    Key to collect the graph random seed values. The seed values collection should have only one element representing the graph random seed value.

  19. object READY_FOR_LOCAL_INIT_OP extends OutputCollectionKey

    Permalink
  20. object READY_OP extends OutputCollectionKey

    Permalink
  21. object REGULARIZATION_LOSSES extends OutputCollectionKey

    Permalink

    Key to collect regularization losses at graph construction.

  22. object SAVERS extends SaverCollectionKey

    Permalink

    Key to collect savers.

  23. object SHARED_RESOURCES extends ResourceCollectionKey

    Permalink

    Key to collect all shared resources used by the graph which need to be initialized once per cluster.

  24. object STREAMING_MODEL_PORTS extends VariableCollectionKey

    Permalink

    Key to collect streaming model ports.

  25. object SUMMARIES extends OutputCollectionKey

    Permalink

    Key to collect the summary Output objects that have been created in the graph.

  26. object SUMMARY_OP extends OutputCollectionKey

    Permalink
  27. object TABLE_INITIALIZERS extends OpCollectionKey

    Permalink

    Key to collect the table initializers that have been created in the graph.

  28. object TRAINABLE_VARIABLES extends VariableCollectionKey

    Permalink

    Key to collect the subset of Variable objects that will be trained using an optimizer.

  29. object TRAIN_OP extends OpCollectionKey

    Permalink
  30. object UNBOUND_INPUTS extends StringCollectionKey

    Permalink

    Key to collect the unbound inputs when serializing/deserializing graphs.

  31. object UPDATE_OPS extends OpCollectionKey

    Permalink

    Key to collect update ops.

  32. object WEIGHTS extends VariableCollectionKey

    Permalink

    Key to collect weights.

  33. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  44. def register(key: Key[_]): Unit

    Permalink
  45. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped