| Modifier and Type | Method and Description |
|---|---|
GpuResource |
ResourceLimits.gpu()
Get the GPU limit of this container instance.
|
GpuResource |
ResourceRequests.gpu()
Get the GPU request of this container instance.
|
GpuResource |
GpuResource.withCount(int count)
Set the count of the GPU resource.
|
GpuResource |
GpuResource.withSku(GpuSku sku)
Set the SKU of the GPU resource.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceLimits |
ResourceLimits.withGpu(GpuResource gpu)
Set the GPU limit of this container instance.
|
ResourceRequests |
ResourceRequests.withGpu(GpuResource gpu)
Set the GPU request of this container instance.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/