Google Cloud Tpu V1 Client - Class TensorFlowVersion (1.4.5)

Reference documentation and code samples for the Google Cloud Tpu V1 Client class TensorFlowVersion.

A tensorflow version that a Node can be configured with.

Generated from protobuf message google.cloud.tpu.v1.TensorFlowVersion

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name.

↳ version string

the tensorflow version.

getName

The resource name.

Returns
Type Description
string

setName

The resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

the tensorflow version.

Returns
Type Description
string

setVersion

the tensorflow version.

Parameter
Name Description
var string
Returns
Type Description
$this