id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
aws_legacy_credentials_and_S3/powershelllambdacode_145_0.txt | Update-LMFunctionCode -FunctionName MyFunction -BucketName mybucket -Key UpdatedCode.zip | |
aws_legacy_credentials_and_S3/AWSToolsLambdaComple_11_0.txt | # Auto-generated argument completers for parameters of SDK ConstantClass-
derived type used in cmdlets.
# Do not modify this file; it may be overwritten during version upgrades. | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_29_0.txt | ## Creating a Security Group for EC2-VPC | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_48_0.txt | Find an AMI | |
aws_legacy_credentials_and_S3/powershelllambdacode_57_0.txt | * For API details, see [ GetPolicy ](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_ . | |
aws_legacy_credentials_and_S3/powershelllambdacode_2_0.txt | Actions | |
aws_legacy_credentials_and_S3/howtosetupanawslambd_17_0.txt | Since you'll be developing locally and publishing code to AWS Lambda, ensure
you have the following installed on your local machine: | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_3_0.txt | # Create a Security Group Using Windows PowerShell | |
aws_legacy_credentials_and_S3/powershelllambdacode_29_0.txt | * For API details, see [ GetAlias ](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_ . | |
aws_legacy_credentials_and_S3/howtosetupanawslambd_33_0.txt | ### Creating an IAM Role for the Lambda Function | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_41_0.txt | PS > (Get-EC2SecurityGroup -GroupIds sg-5d293231).IpPermissions | |
aws_legacy_credentials_and_S3/AWSToolsLambdaComple_52_0.txt | © 2024 Microsoft Corporation | |
aws_legacy_credentials_and_S3/AWSToolsLambdaComple_7_0.txt | Search PowerShell packages: | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_35_0.txt | To define the permissions for inbound traffic on TCP port 22 (SSH) and TCP
port 3389, use the ` New-Object ` cmdlet. The following example script defines
permissions for TCP ports 22 and 3389 from a single IP address, `
203.0.113.25/32 ` . | |
aws_legacy_credentials_and_S3/powershelllambdacode_100_0.txt | **Example 1: This example creates a version for the existing snapshot of
Lambda Function Code** | |
aws_legacy_credentials_and_S3/powershelllambdacode_39_0.txt | **Example 1: This example returns the version specific configuration of a
Lambda Function.** | |
aws_legacy_credentials_and_S3/powershelllambdacode_93_0.txt |
**Output:** | |
aws_legacy_credentials_and_S3/powershelllambdacode_64_0.txt | * For API details, see [ GetProvisionedConcurrencyConfig ](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_ . | |
aws_legacy_credentials_and_S3/powershelllambdacode_73_0.txt | Get-LMResourceTag -Resource "arn:aws:lambda:us-west-2:123456789012:function:MyFunction" | |
aws_legacy_credentials_and_S3/powershelllambdacode_134_0.txt |
* For API details, see [ UntagResource ](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_ . | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_13_0.txt | ###### Warning | |
aws_legacy_credentials_and_S3/pstoolsec2sghtml_36_0.txt | $ip1 = new-object Amazon.EC2.Model.IpPermission
$ip1.IpProtocol = "tcp"
$ip1.FromPort = 22
$ip1.ToPort = 22
$ip1.IpRanges.Add("203.0.113.25/32")
$ip2 = new-object Amazon.EC2.Model.IpPermission
$ip2.IpProtocol = "tcp"
$ip2.FromPort = 3389
$ip2.ToPort = 3389
$ip2.IpRanges.Add("203.0.113.25/32")
Grant-EC2SecurityGroupIngr... | |
aws_legacy_credentials_and_S3/powershelllambdacode_78_0.txt | ** Tools for PowerShell ** | |
google_protobuf/604925_107_0.txt | Reply posted on \--/--/---- --:-- AM | |
google_protobuf/comgooglecloudvertex_308_0.txt | public final GenerateContentResponse generateContent(GenerateContentRequest request) | |
google_protobuf/google_protobuf_23_12.txt | extension_handle_ ) ¶
Checks if a certain extension is present for this message.
Extensions are retrieved using the ` Extensions ` mapping (if present).
Parameters :
**extension_handle** – The handle for the extension to check.
Returns :
Whether the extension is present for this message.
Re... | |
google_protobuf/comgooglecloudvertex_42_0.txt | * com.google.cloud.vertexai.api.stub | |
google_protobuf/tabular_16_0.txt | To launch Jupyter, run jupyter notebook on the command-line in a terminal shell. | |
google_protobuf/PredictionServiceCli_193_0.txt | public boolean isTerminated() | |
google_protobuf/comgooglecloudvertex_451_0.txt | Sample code: | |
google_protobuf/comgooglecloudvertex_94_0.txt | * directPredictCallable() | |
google_protobuf/tabular_10_0.txt | If you are not using Colab or Vertex AI Workbench Notebooks, you must have the following in your environment to meet this notebook's requirements. | |
google_protobuf/comgooglecloudvertex_430_0.txt | ### rawPredict(EndpointName endpoint, HttpBody httpBody) | |
google_protobuf/comgooglecloudvertex_86_0.txt | Perform a streaming online prediction with an arbitrary HTTP payload. | |
google_protobuf/comgooglecloudvertex_296_0.txt | The parameters that govern the prediction. The schema of the parameters may be
specified via Endpoint's DeployedModels' Model's PredictSchemata's
parameters_schema_uri . | |
google_protobuf/comgooglecloudvertex_78_0.txt | Request object method variants only take one parameter, a request object,
which must be constructed before the call. | |
google_protobuf/PredictionServiceCli_23_0.txt | To customize credentials: | |
google_protobuf/604925_160_0.txt | Bronze 3 | |
google_protobuf/comgooglecloudvertex_187_0.txt | [ java.lang.Object
](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) >
PredictionServiceClient | |
google_protobuf/comgooglecloudvertex_267_0.txt |
**Parameters**
---
**Name** | **Description**
` endpoint ` | ` [ EndpointName ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.EndpointName) ` | |
google_protobuf/604925_56_0.txt | 
.result(timeout=180)
.model
)
tf_opt_lossy_gpu_model | |
google_protobuf/comgooglecloudvertex_87_0.txt | Callable method variants take no parameters and return an immutable API
callable object, which can be used to initiate calls to the service. | |
google_protobuf/604925_37_0.txt | [ Turn on suggestions
](https://www.googlecloudcommunity.com/gc/forums/v5/forumtopicpage.enableautocomplete:enableautocomplete?t:ac=board-
id/cloud-ai-ml/message-id/2198&t:cp=action/contributions/searchactions) | |
google_protobuf/comgooglecloudvertex_215_0.txt | **Parameter**
---
**Name** | **Description**
` stub ` | ` [ PredictionServiceStub ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.stub.PredictionServiceStub) ` | |
google_protobuf/PredictionServiceCli_185_0.txt | Specified by: | |
google_protobuf/comgooglecloudvertex_514_0.txt | Perform a streaming online prediction request to a gRPC model server for
custom containers. | |
google_protobuf/tabular_40_0.txt | Set your project ID here. | |
google_protobuf/PredictionServiceCli_103_0.txt | Perform an online prediction. | |
google_protobuf/comgooglecloudvertex_343_0.txt | Sample code: | |
google_protobuf/PredictionServiceCli_49_0.txt | Perform an online prediction. | |
google_protobuf/comgooglecloudvertex_220_0.txt | Constructs an instance of PredictionServiceClient, using the given settings.
This is protected so that it is easy to make a subclass, but otherwise, the
static factory methods should be preferred. | |
google_protobuf/comgooglecloudvertex_427_0.txt | Sample code: | |
google_protobuf/comgooglecloudvertex_92_0.txt | * directPredict(DirectPredictRequest request) | |
google_protobuf/PredictionServiceCli_182_0.txt |
try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
ExplainRequest request =
ExplainRequest.newBuilder()
.setEndpoint(EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString())
.addAllInstances(new ArrayList<Value>())
.setParameters(Value.newBuilder().build())
.setExpla... | |
google_protobuf/tabular_81_0.txt |
!cd $LOCAL_DIRECTORY_FULL/data && tar xvzf dac.tar.gz | |
google_protobuf/comgooglecloudvertex_299_0.txt | **Returns**
---
**Type** | **Description**
` [ ExplainResponse ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.ExplainResponse) ` | | |
google_protobuf/604925_31_0.txt | * [ Community Resources ](/gc/Community-Resources/ct-p/cloud-getting-started) | |
google_protobuf/PredictionServiceCli_6_0.txt | * Summary:
* Nested |
* Field |
* Constr |
* Method | |
google_protobuf/PredictionServiceCli_47_0.txt | Perform an online prediction. | |
google_protobuf/PredictionServiceCli_147_0.txt | public final com.google.api.gax.rpc.UnaryCallable<[RawPredictRequest](https://github.com/googleapis/java-/proto-google-cloud-aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/RawPredictRequest.html?is-external=true "class or interface in com.google.cloud.aiplatform.v1"),com.google.api.HttpBody> rawPredictCallable() | |
google_protobuf/tabular_242_0.txt | endpoint_dict = endpoint_service_client.get_endpoint(name=endpoint)
pridict_uri = endpoint_dict.deployed_models[0].private_endpoints.predict_http_uri | |
google_protobuf/PredictionServiceCli_151_0.txt | Sample code: | |
google_protobuf/604925_53_0.txt | :
responses = [] | |
google_protobuf/PredictionServiceCli_7_0.txt | * Detail:
* Field |
* Constr |
* Method | |
google_protobuf/comgooglecloudvertex_165_0.txt | Request object method variants only take one parameter, a request object,
which must be constructed before the call. | |
google_protobuf/comgooglecloudvertex_477_0.txt | Sample code: | |
google_protobuf/google_protobuf_18_3.txt | * [ google.protobuf.type_pb2 ](type_pb2.html)
* [ google.protobuf.unknown_fields ](unknown_fields.html)
* [ google.protobuf.wrappers_pb2 ](wrappers_pb2.html)
### Related Topics
* [ Documentation overview ](../../index.html)
* Previous: [ google.protobuf.text_encoding ](text_encoding.html "previous chapter... | |
google_protobuf/comgooglecloudvertex_188_0.txt | ## Implements | |
google_protobuf/PredictionServiceCli_136_0.txt | Throws: | |
google_protobuf/604925_146_0.txt | [ ](/gc/AI-ML/Vertex-AI-Getting-a-GRPC-Exception-when-sending-a-
prediction/m-p/604925#M2198) | |
google_protobuf/tabular_141_0.txt |
!gsutil cp -r
BUCKET_URI | |
google_protobuf/PredictionServiceCli_108_0.txt | ` com.google.api.gax.rpc.ApiException ` \- if the remote call fails
* #### predictCallable | |
google_protobuf/tabular_235_0.txt |
fig = build_graph(
"actual_qps",
"p50",
{
"TF2.7 CPU": tf27_cpu_results,
"TF2.7 GPU": tf27_gpu_results,
"TF opt GPU": tf_opt_gpu_results,
"TF opt GPU lossy": tf_opt_lossy_gpu_results,
},
(0, 800, 0, 60),
)
fig.savefig("criteo_p50_latency_512.png", bbox_inches="tight") | |
google_protobuf/comgooglecloudvertex_255_0.txt | ### directRawPredictCallable() | |
google_protobuf/PredictionServiceCli_84_0.txt | public final [PredictionServiceSettings](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceSettings.html "class in com.google.cloud.aiplatform.v1") getSettings() | |
google_protobuf/comgooglecloudvertex_547_0.txt | // This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://clo... | |
google_protobuf/google_protobuf_22_3.txt | set.
Parameters :
**errors** – A list which, if provided, will be populated with the field paths
of all missing required fields.
Returns :
True iff the specified message has all required fields set.
` LIST_VALUE_FIELD_NUMBER ` _= 6_ ¶
` ListFields ` ( ) ¶
` MergeFrom ` ( _msg_ ) ¶
... | |
google_protobuf/comgooglecloudvertex_119_0.txt | Callable method variants take no parameters and return an immutable API
callable object, which can be used to initiate calls to the service. | |
google_protobuf/tabular_172_0.txt | In order to be able to send requests to your models over gRPC, you need to set model_name argument and update predict_route and health_route accordingly. | |
google_protobuf/google_protobuf_15_1.txt | age_factory.rst.txt)
©2008, Google LLC. | Powered by [ Sphinx 2.3.1 ](http://sphinx-doc.org/) & [ Alabaster 0.7.12 ](https://github.com/bitprophet/alabaster) | [ Page source ](../../_sources/google/protobuf/message_factory.rst.txt)
| |
google_protobuf/comgooglecloudvertex_539_0.txt | Sample code: | |
google_protobuf/604925_172_0.txt |  | |
google_protobuf/google_protobuf_23_10.txt |
` DiscardUnknownFields ` ( ) ¶
` FILE_FIELD_NUMBER ` _= 1_ ¶
` FindInitializationErrors ` ( ) ¶
Finds required fields which are not initialized.
Returns :
A list of strings. Each string is a path to an uninitialized field from the
top-level message, e.g. “foo.bar[5].baz”.
_sta... | |
google_protobuf/comgooglecloudvertex_104_0.txt | * streamDirectPredictCallable() | |
google_protobuf/comgooglecloudvertex_529_0.txt |
**Returns**
---
**Type** | **Description**
` [ ServerStreamingCallable
](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ServerStreamingCallable.html)
< [ StreamRawPredictRequest ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.StreamRawPredictRequest) ... | |
google_protobuf/tabular_213_0.txt | Define helper methods to run benchmarks against private endpoints using REST protocol. The URI where requests should be sent can be found in deployed_model.private_endpoints.predict_http_uri. | |
google_protobuf/comgooglecloudvertex_300_0.txt | ### explainCallable() | |
google_protobuf/comgooglecloudvertex_358_0.txt | // This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://clo... | |
google_protobuf/tabular_131_0.txt | Note that providing a warmup request with multiple batch sizes increase the time for each node to start. | |
google_protobuf/comgooglecloudvertex_27_0.txt | * [ Package summary ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api)
* Interfaces | |
google_protobuf/comgooglecloudvertex_38_1.txt | .GradientNoiseSigmaCase ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api.SmoothGradConfig.GradientNoiseSigmaCase)
* [ Tensor.DataType ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api.Tensor.DataType)
* [ Type ](/java/docs/reference/google-cloud-vertex... | |
google_protobuf/comgooglecloudvertex_498_0.txt | Can return ` NOT_FOUND ` , ` INVALID_ARGUMENT ` , and ` PERMISSION_DENIED `
errors. | |
google_protobuf/604925_145_0.txt | [ Reply ]() | |
google_protobuf/comgooglecloudvertex_481_0.txt | public final ServerStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> serverStreamingPredictCallable() | |
google_protobuf/tabular_114_0.txt |
tf.estimator.train_and_evaluate(
estimator,
train_spec=tf.estimator.TrainSpec(
input_fn=lambda: read_gcs(batch_size=256).take(2000)
),
eval_spec=tf.estimator.EvalSpec(input_fn=lambda: read_gcs().skip(500).take(100)),
) | |
google_protobuf/604925_50_0.txt | Posted on 06-07-2023 03:32 AM | |
google_protobuf/comgooglecloudvertex_265_0.txt | Sample code: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.