- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for getRegions (0.35 sec)
-
pilot/pkg/networking/util/util.go
func IsLocalityEmpty(locality *core.Locality) bool { if locality == nil || (len(locality.GetRegion()) == 0) { return true } return false } func LocalityMatch(proxyLocality *core.Locality, ruleLocality string) bool { ruleRegion, ruleZone, ruleSubzone := label.SplitLocalityLabel(ruleLocality) regionMatch := ruleRegion == "*" || proxyLocality.GetRegion() == ruleRegion
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
// function. OpBuilder builder(graph_op); auto new_graph_op = builder.create<GraphOp>(graph_op.getLoc(), new_result_types); new_graph_op.getRegion().takeBody(graph_op.getRegion()); graph_op->replaceAllUsesWith( new_graph_op->getResults().drop_back(num_resources)); graph_op.erase(); func::ReturnOp return_op = cast<func::ReturnOp>(block.getTerminator());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Client.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
if (auto func = dyn_cast<func::FuncOp>(call.resolveCallable())) { (*arguments_to_erase)[func].push_back(argument_index); work_list->push_back(std::make_pair(&func.getRegion(), argument_index)); } } else if (auto if_op = dyn_cast<TF::IfOp>(user_op)) { (*arguments_to_erase)[if_op].push_back(argument_index); for (auto callee : {if_op.then_function(), if_op.else_function()}) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy
def uri = new URI("s3://${bucketName}.${regionForUrl}${key}") S3RegionalResource s3RegionalResource = new S3RegionalResource(uri) s3Client.amazonS3Client.setRegion(s3RegionalResource.getRegion().get()) println "Regional uri: ${uri}" println("Creating bucket: ${bucketName}") CreateBucketRequest createBucketRequest = new CreateBucketRequest(bucketName, region)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
// have the proper shapes. TF_RETURN_IF_ERROR(RefineShapes(arg_shapes, module_op)); mlir::func::FuncOp main = module_op.lookupSymbol<mlir::func::FuncOp>("main"); mlir::Block& block = main.getRegion().front(); xla::XlaBuilder builder("main"); // Create xla_params. std::vector<xla::XlaOp> xla_params; for (mlir::BlockArgument& arg : block.getArguments()) { auto num = arg.getArgNumber();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
<< ")"; } } return success(); } void GraphOp::print(OpAsmPrinter &p) { p << ' '; p.printRegion(getOperation()->getRegion(0)); p.printOptionalAttrDict(getOperation()->getAttrs()); } ParseResult GraphOp::parse(OpAsmParser &parser, OperationState &result) { llvm::SMLoc loc = parser.getCurrentLocation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
SmallVectorImpl<OpVisitorState>& ops_to_visit, const llvm::SmallPtrSetImpl<Block*>& control_flow_blocks, Value token) { ops_to_visit.push_back({region_idx + 1, token, region_op}); Region& region = region_op->getRegion(region_idx); assert(llvm::hasSingleElement(region)); auto block_token = UpdateControlFlowBlockArgWithToken(builder, region.front(), block_arg_types);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc
ASSERT_TRUE(module_op); func::FuncOp main_fn = FindMainFuncOp(*module_op); ASSERT_THAT(main_fn, NotNull()); auto if_op = FindOperationOfType<mlir::stablehlo::IfOp>(main_fn); Block& block = if_op->getRegion(0).front(); Operation& add_op = *absl::c_find_if(block, [](Operation& entry) { return dyn_cast_or_null<::mlir::stablehlo::AddOp>(&entry); }); EXPECT_TRUE(IsInStableHloOpRegion(&add_op)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
pilot/pkg/xds/ads.go
// can still help provide some client-side Envoy context when load balancing based on location. proxy.Locality = &core.Locality{ Region: proxy.XdsNode.Locality.GetRegion(), Zone: proxy.XdsNode.Locality.GetZone(), SubZone: proxy.XdsNode.Locality.GetSubZone(), } } // add topology labels to proxy labels proxy.Labels = labelutil.AugmentLabels( proxy.Labels,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0)