- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 70 for getRegions (0.38 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// each region and the use of TensorList returned using YieldOp. if (auto while_region = llvm::dyn_cast<WhileRegionOp>(use.getOwner())) { DCOMMENT("\tTL WhileRegion"); for (auto branch : while_region.getRegions()) add_to_worklist(branch->getArgument(use.getOperandNumber())); continue; } if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) { Operation* parent = yield->getParentOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
branch->front().getTerminator()->eraseOperand(next_index); } // Move region bodies to the new op. for (auto region_index : llvm::seq<int>(0, branches.size())) new_op.getRegion(region_index).takeBody(op.getRegion(region_index)); op.erase(); return success(); } }; } // namespace void CaseRegionOp::getCanonicalizationPatterns(RewritePatternSet& results,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3RegionalResourceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc
replicate_op->getLoc(), new_result_types, replicate_op->getOperands(), replicate_op->getAttrs()); // Move region to the new op. new_replicate_op.getRegion().takeBody(replicate_op.getRegion()); // Replace all old uses with new op results. int old_num_results = replicate_op->getNumResults(); replicate_op->replaceAllUsesWith(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
op->getLoc(), op->getName(), types, new_operands, op->getAttrs(), op->getPropertiesStorage(), {}, /*numRegions=*/2)); for (int i = 0; i < 2; ++i) new_op->getRegion(i).takeBody(op->getRegion(i)); int new_index = 0; for (int op_index = 0, e = op->getNumResults(); op_index < e; ++op_index) { if (removed_operand[op_index]) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3RegionalResource.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
SetExportedName(other, name); module_body.push_front(other); other.addEntryBlock(); OpBuilder builder(other.getRegion()); auto call_op = builder.create<mlir::func::CallOp>( f.getLoc(), f.getFunctionType().getResults(), f.getSymName(), other.getRegion().getArguments()); builder.create<mlir::func::ReturnOp>(f.getLoc(), call_op.getResults()); } Unexport(f); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/bootstrap/platform/aws.go
if err != nil { log.Debugf("error in getting aws info for %s : %v", path, err) return "", err } return resp.String(), nil } // getRegion returns the Region that the instance is running in. func getRegion(ipv6 bool, headers map[string]string) string { region, _ := getAWSInfo("placement/region", ipv6, headers) return region }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 03:52:10 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_analyzer_test_pass.cc
// Prints the analysis result for each resource ops found in `module_op` for // testing purposes. void PrintAnalysisResults(const TF::ResourceAnalyzer& analyzer, ModuleOp module_op) { module_op.getRegion().walk([&analyzer](Operation* op) { if (auto var_handle_op = dyn_cast<TF::VarHandleOp>(op)) { const ResourceKey resource_key = GetResourceKey(var_handle_op); op->emitRemark(llvm::formatv(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 00:21:29 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" void init_ops(py::module& m) { py::class_<mlir::Operation, std::unique_ptr<mlir::Operation, py::nodelete>>( m, "Operation") .def("getRegion", &mlir::Operation::getRegion, py::return_value_policy::reference) .def("getResult", &mlir::Operation::getResult) .def("dump", &mlir::Operation::dump) .def("getNumResults", &mlir::Operation::getNumResults);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 7.6K bytes - Viewed (0)