Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3ffb6cb

Browse filesBrowse files
vertex-sdk-botcopybara-github
authored andcommitted
docs: Include imports in experiment_tracking samples directly in cloud.google.com snippets.
PiperOrigin-RevId: 641995241
1 parent 641faec commit 3ffb6cb
Copy full SHA for 3ffb6cb

53 files changed

+53-58Lines changed: 53 additions & 58 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎samples/model-builder/experiment_tracking/assign_artifact_as_execution_input_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/assign_artifact_as_execution_input_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_assign_artifact_as_execution_input_sample]
1516
from google.cloud import aiplatform
1617

1718

18-
# [START aiplatform_sdk_assign_artifact_as_execution_input_sample]
1919
def assign_artifact_as_execution_input_sample(
2020
execution: aiplatform.Execution,
2121
artifact: aiplatform.Artifact,
Collapse file

‎samples/model-builder/experiment_tracking/assign_artifact_as_execution_output_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/assign_artifact_as_execution_output_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_assign_artifact_as_execution_output_sample]
1516
from google.cloud import aiplatform
1617

1718

18-
# [START aiplatform_sdk_assign_artifact_as_execution_output_sample]
1919
def assign_artifact_as_execution_output_sample(
2020
execution: aiplatform.Execution,
2121
artifact: aiplatform.Artifact,
Collapse file

‎samples/model-builder/experiment_tracking/autologging_with_auto_run_creation_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/autologging_with_auto_run_creation_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_autologging_with_auto_run_creation_sample]
1516
from typing import Optional, Union
1617

1718
from google.cloud import aiplatform
1819

1920

20-
# [START aiplatform_sdk_autologging_with_auto_run_creation_sample]
2121
def autologging_with_auto_run_creation_sample(
2222
experiment_name: str,
2323
project: str,
Collapse file

‎samples/model-builder/experiment_tracking/autologging_with_manual_run_creation_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/autologging_with_manual_run_creation_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_autologging_with_manual_run_creation_sample]
1516
from typing import Optional, Union
1617

1718
from google.cloud import aiplatform
1819

1920

20-
# [START aiplatform_sdk_autologging_with_manual_run_creation_sample]
2121
def autologging_with_manual_run_creation_sample(
2222
experiment_name: str,
2323
run_name: str,
Collapse file

‎samples/model-builder/experiment_tracking/create_artifact_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_artifact_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_create_artifact_sample]
1516
from typing import Dict, Optional
1617

1718
from google.cloud import aiplatform
1819

1920

20-
# [START aiplatform_sdk_create_artifact_sample]
2121
def create_artifact_sample(
2222
schema_title: str,
2323
project: str,
Collapse file

‎samples/model-builder/experiment_tracking/create_artifact_with_sdk_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_artifact_with_sdk_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_create_artifact_with_sdk_sample]
1516
from typing import Dict, Optional
1617

1718
from google.cloud.aiplatform.metadata.schema.system import artifact_schema
1819

1920

20-
# [START aiplatform_sdk_create_artifact_with_sdk_sample]
2121
def create_artifact_sample(
2222
project: str,
2323
location: str,
Collapse file

‎samples/model-builder/experiment_tracking/create_context_with_sdk_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_context_with_sdk_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_create_context_with_sdk_sample]
1516
from typing import Any, Dict, Optional
1617

1718
from google.cloud import aiplatform
1819
from google.cloud.aiplatform.metadata.schema.system import context_schema
1920

2021

21-
# [START aiplatform_sdk_create_context_with_sdk_sample]
2222
def create_context_sample(
2323
display_name: str,
2424
project: str,
Collapse file

‎samples/model-builder/experiment_tracking/create_execution_with_sdk_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_execution_with_sdk_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_create_execution_with_sdk_sample]
1516
from typing import Any, Dict, List, Optional
1617

1718
from google.cloud import aiplatform
1819
from google.cloud.aiplatform.metadata.schema.system import execution_schema
1920

2021

21-
# [START aiplatform_sdk_create_execution_with_sdk_sample]
2222
def create_execution_sample(
2323
display_name: str,
2424
input_artifacts: List[aiplatform.Artifact],
Collapse file

‎samples/model-builder/experiment_tracking/create_experiment_default_tensorboard_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_experiment_default_tensorboard_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_create_experiment_default_tensorboard_sample]
1516
from google.cloud import aiplatform
1617

1718

18-
# [START aiplatform_sdk_create_experiment_default_tensorboard_sample]
1919
def create_experiment_default_tensorboard_sample(
2020
experiment_name: str,
2121
experiment_description: str,
Collapse file

‎samples/model-builder/experiment_tracking/create_experiment_run_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_experiment_run_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START aiplatform_sdk_create_experiment_run_sample]
1516
from typing import Optional, Union
1617

1718
from google.cloud import aiplatform
1819

1920

20-
# [START aiplatform_sdk_create_experiment_run_sample]
2121
def create_experiment_run_sample(
2222
experiment_name: str,
2323
run_name: str,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.