Autogenerated update (2019-03-04)
Update: - ml_v1 - tpu_v1 - tpu_v1alpha1
This commit is contained in:
parent
ea320d4cbe
commit
bc74cb89a0
|
@ -82100,6 +82100,7 @@
|
||||||
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/enableTrialEarlyStopping": enable_trial_early_stopping
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/enableTrialEarlyStopping": enable_trial_early_stopping
|
||||||
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal
|
||||||
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag
|
||||||
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxFailedTrials": max_failed_trials
|
||||||
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials
|
||||||
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials
|
||||||
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params
|
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190216'
|
REVISION = '20190226'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -354,6 +354,15 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :hyperparameter_metric_tag
|
attr_accessor :hyperparameter_metric_tag
|
||||||
|
|
||||||
|
# Optional. How many failed trials that need to be seen before failing the
|
||||||
|
# hyperparameter tuning job. User can specify this field to override the
|
||||||
|
# default failing criteria for CloudML Engine hyperparameter tuning jobs.
|
||||||
|
# Defaults to zero, which means to let the service decide when a
|
||||||
|
# hyperparameter job should fail.
|
||||||
|
# Corresponds to the JSON property `maxFailedTrials`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :max_failed_trials
|
||||||
|
|
||||||
# Optional. The number of training trials to run concurrently.
|
# Optional. The number of training trials to run concurrently.
|
||||||
# You can reduce the time it takes to perform hyperparameter tuning by adding
|
# You can reduce the time it takes to perform hyperparameter tuning by adding
|
||||||
# trials in parallel. However, each trail only benefits from the information
|
# trials in parallel. However, each trail only benefits from the information
|
||||||
|
@ -395,6 +404,7 @@ module Google
|
||||||
@enable_trial_early_stopping = args[:enable_trial_early_stopping] if args.key?(:enable_trial_early_stopping)
|
@enable_trial_early_stopping = args[:enable_trial_early_stopping] if args.key?(:enable_trial_early_stopping)
|
||||||
@goal = args[:goal] if args.key?(:goal)
|
@goal = args[:goal] if args.key?(:goal)
|
||||||
@hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag)
|
@hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag)
|
||||||
|
@max_failed_trials = args[:max_failed_trials] if args.key?(:max_failed_trials)
|
||||||
@max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
|
@max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
|
||||||
@max_trials = args[:max_trials] if args.key?(:max_trials)
|
@max_trials = args[:max_trials] if args.key?(:max_trials)
|
||||||
@params = args[:params] if args.key?(:params)
|
@params = args[:params] if args.key?(:params)
|
||||||
|
@ -935,11 +945,6 @@ module Google
|
||||||
class GoogleCloudMlV1PredictionInput
|
class GoogleCloudMlV1PredictionInput
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents a hardware accelerator request config.
|
|
||||||
# Corresponds to the JSON property `accelerator`
|
|
||||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
|
||||||
attr_accessor :accelerator
|
|
||||||
|
|
||||||
# Optional. Number of records per batch, defaults to 64.
|
# Optional. Number of records per batch, defaults to 64.
|
||||||
# The service will buffer batch_size number of records in memory before
|
# The service will buffer batch_size number of records in memory before
|
||||||
# invoking one Tensorflow prediction call internally. So take the record
|
# invoking one Tensorflow prediction call internally. So take the record
|
||||||
|
@ -1030,7 +1035,6 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@accelerator = args[:accelerator] if args.key?(:accelerator)
|
|
||||||
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
||||||
@data_format = args[:data_format] if args.key?(:data_format)
|
@data_format = args[:data_format] if args.key?(:data_format)
|
||||||
@input_paths = args[:input_paths] if args.key?(:input_paths)
|
@input_paths = args[:input_paths] if args.key?(:input_paths)
|
||||||
|
@ -1742,7 +1746,7 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
|
|
@ -345,6 +345,7 @@ module Google
|
||||||
property :enable_trial_early_stopping, as: 'enableTrialEarlyStopping'
|
property :enable_trial_early_stopping, as: 'enableTrialEarlyStopping'
|
||||||
property :goal, as: 'goal'
|
property :goal, as: 'goal'
|
||||||
property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag'
|
property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag'
|
||||||
|
property :max_failed_trials, as: 'maxFailedTrials'
|
||||||
property :max_parallel_trials, as: 'maxParallelTrials'
|
property :max_parallel_trials, as: 'maxParallelTrials'
|
||||||
property :max_trials, as: 'maxTrials'
|
property :max_trials, as: 'maxTrials'
|
||||||
collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation
|
collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation
|
||||||
|
@ -481,8 +482,6 @@ module Google
|
||||||
class GoogleCloudMlV1PredictionInput
|
class GoogleCloudMlV1PredictionInput
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :accelerator, as: 'accelerator', class: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig::Representation
|
|
||||||
|
|
||||||
property :batch_size, :numeric_string => true, as: 'batchSize'
|
property :batch_size, :numeric_string => true, as: 'batchSize'
|
||||||
property :data_format, as: 'dataFormat'
|
property :data_format, as: 'dataFormat'
|
||||||
collection :input_paths, as: 'inputPaths'
|
collection :input_paths, as: 'inputPaths'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tpu/
|
# @see https://cloud.google.com/tpu/
|
||||||
module TpuV1
|
module TpuV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190205'
|
REVISION = '20190228'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tpu/
|
# @see https://cloud.google.com/tpu/
|
||||||
module TpuV1alpha1
|
module TpuV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20190205'
|
REVISION = '20190228'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
Loading…
Reference in New Issue