- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 84 for getRegion (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc
return WalkResult::advance(); }); if (walk_result.wasInterrupted()) return signalPassFailure(); // Move all remaining nested functions back into the parent module. Block &nested_block = nested_module->getRegion(0).front(); for (func::FuncOp func_op : llvm::make_early_inc_range(nested_block.getOps<func::FuncOp>())) { if (!symbol_table.lookupSymbolIn(getOperation(), func_op.getName())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_device_copy_conversion.cc
// Skip the folding logic if the block argument is not from the function // arguments. This can happen when the argument is from a while loop. if (block_arg.getParentRegion() != &func_op.getRegion()) { return false; } if (StringAttr attr = func_op.getArgAttrOfType<StringAttr>( block_arg.getArgNumber(), kTFDeviceAttr)) { return op_device == attr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.3K bytes - Viewed (0) -
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/sparsecore/embedding_pipelining.cc
LogicalResult UnifyReplicationInfo(func::FuncOp func) { auto new_repl_info = builder.getStringAttr(func.getSymName().str() + "_repl_info"); for (auto& op : func.getRegion().getOps()) { if (auto compile_op = llvm::dyn_cast<TF::TPUCompilationResultOp>(op)) { UpdateReplicationAttr(compile_op, new_repl_info); } else { UpdateReplicationAttr(&op, new_repl_info);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc
StringRef dialect = ops[0]->getName().getDialectNamespace(); OpBuilder builder(context); // Every ModuleOp has at least one region and one block. Block* first_block = &module->getRegion(0).front(); builder.setInsertionPointToEnd(first_block); auto func = builder.create<mlir::func::FuncOp>( ops[0]->getLoc(), dialect.str() + std::to_string(function_id),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc
if (!func_op) return failure(); // The quantized fusion should have requantize and return ops at the end. auto return_op = dyn_cast_or_null<func::ReturnOp>( func_op.getRegion().getBlocks().front().getTerminator()); if (!return_op) return failure(); auto req_op = llvm::dyn_cast_or_null<mlir::stablehlo::UniformQuantizeOp>( return_op.getOperands()[0].getDefiningOp());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K 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/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) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi
def __init__(self, *args, **kwargs) -> None: ... class Operation: def __init__(self, *args, **kwargs) -> None: ... def dump(self) -> None: ... def getNumResults(self) -> int: ... def getRegion(self, arg0: int) -> Region: ... def getResult(self, arg0: int) -> OpResult: ... class OperationState: def __init__(self, arg0: Location, arg1: str) -> None: ...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 09 17:10:09 UTC 2023 - 6.7K 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}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0)