Reference documentation and code samples for the Google Cloud Tpu V2 Client class AcceleratorConfig.
A TPU accelerator configuration.
Generated from protobuf message google.cloud.tpu.v2.AcceleratorConfig
Namespace
Google \ Cloud \ Tpu \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Required. Type of TPU. |
↳ topology |
string
Required. Topology of TPU in chips. |
getType
Required. Type of TPU.
Returns | |
---|---|
Type | Description |
int |
setType
Required. Type of TPU.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getTopology
Required. Topology of TPU in chips.
Returns | |
---|---|
Type | Description |
string |
setTopology
Required. Topology of TPU in chips.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |