public static interface DebugHookConfig.Builder extends SdkPojo, CopyableBuilder<DebugHookConfig.Builder,DebugHookConfig>
Modifier and Type | Method and Description |
---|---|
DebugHookConfig.Builder |
collectionConfigurations(Collection<CollectionConfiguration> collectionConfigurations)
Configuration information for tensor collections.
|
DebugHookConfig.Builder |
collectionConfigurations(CollectionConfiguration... collectionConfigurations)
Configuration information for tensor collections.
|
DebugHookConfig.Builder |
collectionConfigurations(Consumer<CollectionConfiguration.Builder>... collectionConfigurations)
Configuration information for tensor collections.
|
DebugHookConfig.Builder |
hookParameters(Map<String,String> hookParameters)
Configuration information for the debug hook parameters.
|
DebugHookConfig.Builder |
localPath(String localPath)
Path to local storage location for tensors.
|
DebugHookConfig.Builder |
s3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for tensors.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DebugHookConfig.Builder localPath(String localPath)
Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.
localPath
- Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.DebugHookConfig.Builder s3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for tensors.
s3OutputPath
- Path to Amazon S3 storage location for tensors.DebugHookConfig.Builder hookParameters(Map<String,String> hookParameters)
Configuration information for the debug hook parameters.
hookParameters
- Configuration information for the debug hook parameters.DebugHookConfig.Builder collectionConfigurations(Collection<CollectionConfiguration> collectionConfigurations)
Configuration information for tensor collections.
collectionConfigurations
- Configuration information for tensor collections.DebugHookConfig.Builder collectionConfigurations(CollectionConfiguration... collectionConfigurations)
Configuration information for tensor collections.
collectionConfigurations
- Configuration information for tensor collections.DebugHookConfig.Builder collectionConfigurations(Consumer<CollectionConfiguration.Builder>... collectionConfigurations)
Configuration information for tensor collections.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #collectionConfigurations(List)
.collectionConfigurations
- a consumer that will call methods on List.Builder
#collectionConfigurations(List)
Copyright © 2020. All rights reserved.