Object/Trait

org.platanios.tensorflow.api.ops

Resources

Related Docs: trait Resources | package ops

Permalink

object Resources extends Resources

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resources
  2. Resources
  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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def initializer(resources: Set[Resource], name: String = "ResourcesInitializer"): Op

    Permalink

    Creates an op that initializes the provided resources.

    Creates an op that initializes the provided resources.

    resources

    Resources to initialize.

    name

    Name for the created op.

    returns

    Created op.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def localResources: Set[Resource]

    Permalink

    Returns the set of all local resources used by the current graph which need to be initialized once per cluster.

    Returns the set of all local resources used by the current graph which need to be initialized once per cluster.

    Definition Classes
    Resources
  14. def localResourcesInitializer(name: String = "LocalResourcesInitializer"): Op

    Permalink

    Returns an initializer op for all local resources that have been created in the current graph.

    Returns an initializer op for all local resources that have been created in the current graph.

    Definition Classes
    Resources
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def register(resource: Resource, isShared: Boolean = true, graph: core.Graph = Op.currentGraph): Unit

    Permalink

    Registers the provided resource in the appropriate collections.

    Registers the provided resource in the appropriate collections.

    This makes the resource "findable" in either the shared or local resources collection.

    resource

    Resource to register.

    isShared

    If true, the resource gets added to the shared resource collection. Otherwise, it gets added to the local resource collection.

    graph

    Graph to register the resource in.

  19. def resourcesInitializer(resources: Set[Resource], name: String = "ResourcesInitializer"): Op

    Permalink

    Returns an initializer op for all provided resources.

    Returns an initializer op for all provided resources.

    Definition Classes
    Resources
  20. def sharedResources: Set[Resource]

    Permalink

    Returns the set of all shared resources used by the current graph which need to be initialized once per cluster.

    Returns the set of all shared resources used by the current graph which need to be initialized once per cluster.

    Definition Classes
    Resources
  21. def sharedResourcesInitializer(name: String = "SharedResourcesInitializer"): Op

    Permalink

    Returns an initializer op for all shared resources that have been created in the current graph.

    Returns an initializer op for all shared resources that have been created in the current graph.

    Definition Classes
    Resources
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def uninitializedResources(resources: Set[Resource] = sharedResources ++ localResources, name: String = "UninitializedResources"): Output

    Permalink

    Creates an op that returns a tensor containing the names of all uninitialized resources in resources.

    Creates an op that returns a tensor containing the names of all uninitialized resources in resources.

    If all resources have been initialized, then an empty tensor is returned.

    resources

    Resources to check. If not provided, the set of all shared and local resources in the current graph will be used.

    name

    Name for the created op.

    returns

    Created op output, which contains the names of the handles of all resources which have not yet been initialized.

  25. final def wait(): Unit

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

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

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

Inherited from Resources

Inherited from AnyRef

Inherited from Any

Ungrouped