GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Added to comments for predict_schemata fields. · googleapis/python-aiplatform@f5a1e01

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • google/cloud/aiplatform
    • models.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/cloud/aiplatform/models.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/models.py
+10-4Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ def upload(
158158
must be supported by it. If not specified a standard HTTP path will be
159159
used by AI Platform.
160160
instance_schema_uri (str):
161-
Optional. Points to a YAML file stored on Google Cloud
161+
Optional. Currently not used for any purpose.
162+
163+
Points to a YAML file stored on Google Cloud
162164
Storage describing the format of a single instance, which
163165
are used in
164166
``PredictRequest.instances``,
@@ -173,7 +175,9 @@ def upload(
173175
one given on input. The output URI will point to a location
174176
where the user only has a read access.
175177
parameters_schema_uri (str):
176-
Optional. Points to a YAML file stored on Google Cloud
178+
Optional. Currently not used for any purpose.
179+
180+
Points to a YAML file stored on Google Cloud
177181
Storage describing the parameters of prediction and
178182
explanation via
179183
``PredictRequest.parameters``,
@@ -189,7 +193,9 @@ def upload(
189193
than the one given on input. The output URI will point to a
190194
location where the user only has a read access.
191195
prediction_schema_uri (str):
192-
Optional. Points to a YAML file stored on Google Cloud
196+
Optional. Currently not used for any purpose.
197+
198+
Points to a YAML file stored on Google Cloud
193199
Storage describing the format of a single prediction
194200
produced by this Model, which are returned via
195201
``PredictResponse.predictions``,
@@ -1129,7 +1135,7 @@ def predict(self, instances: List, parameters: Optional[Dict] = None) -> Predict
11291135
11301136
Args:
11311137
instances (List):
1132-
Required. Required. The instances that are the input to the
1138+
Required. The instances that are the input to the
11331139
prediction call. A DeployedModel may have an upper limit
11341140
on the number of instances it supports per request, and
11351141
when it is exceeded the prediction call errors in case

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.