Google Cloud Tpu V2 Client - Class AcceleratorConfig (2.1.2)

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 \ V2

Methods

__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
Create a Mobile Website
View Site in Mobile | Classic
Share by: