ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

ResourceConditionalAccumulator.Options

public static class ResourceConditionalAccumulator.Options

Optional attributes for ResourceConditionalAccumulator

Public Methods

ResourceConditionalAccumulator.Options
container(String container)
ResourceConditionalAccumulator.Options
reductionType(String reductionType)
ResourceConditionalAccumulator.Options
sharedName(String sharedName)

Inherited Methods

Public Methods

public ResourceConditionalAccumulator.Options container (String container)

Parameters
container If non-empty, this accumulator is placed in the given container. Otherwise, a default container is used.

public ResourceConditionalAccumulator.Options reductionType (String reductionType)

public ResourceConditionalAccumulator.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this accumulator will be shared under the given name across multiple sessions.