- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 230 for getOperation (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc
: public impl::ConstantOpDeviceAssignmentPassBase< ConstantOpDeviceAssignmentPass> { void runOnOperation() override; }; void ConstantOpDeviceAssignmentPass::runOnOperation() { ModuleOp module = getOperation(); module.walk([&](TF::ConstOp op) { // Keep the ConstOp if the op already have the device attribute. if (StringAttr device_attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 3.3K bytes - Viewed (0) -
plugin/pkg/admission/priority/admission.go
// Note that pod validation mechanism prevents update of a pod priority. func (p *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { operation := a.GetOperation() // Ignore all calls to subresources if len(a.GetSubresource()) != 0 { return nil } switch a.GetResource().GroupResource() { case podResource:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc
: public impl::LegalizeWhilePassBase<LegalizeWhilePass> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeWhilePass) void RunOnFunction(func::FuncOp func); void runOnOperation() override { for (auto op : getOperation().getOps<func::FuncOp>()) RunOnFunction(op); } }; } // namespace // Inserts call to the given function into the 'region'. void CreateRegionWithCall(func::FuncOp func, Region& region, Location loc) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init_test_pass.cc
public: void runOnOperation() final { static tensorflow::Session* session = new TF::test_util::FakeSession(); if (failed(tf_saved_model::InitializeVariablesInSessionInitializer( getOperation(), session))) signalPassFailure(); } private: }; } // anonymous namespace std::unique_ptr<OperationPass<ModuleOp>> CreateInitializeVariablesInSessionInitializerTestPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:19:38 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go
// going to change the object, and attr.Object will be a DeleteOptions // rather than a namespace object. if attr.GetResource().Resource == "namespaces" && len(attr.GetSubresource()) == 0 && (attr.GetOperation() == admission.Create || attr.GetOperation() == admission.Update) { accessor, err := meta.Accessor(attr.GetObject()) if err != nil { return nil, err } return accessor.GetLabels(), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationFailure.java
} protected BuildOperationFailure(BuildOperation operation, String message, Throwable cause) { super(message, cause); this.operation = operation; } public BuildOperation getOperation() { return operation; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc
.getOperation(); tpu_copy_with_dynamic_shape_op->moveBefore(return_op); return success(); } // Update all the usage of tf_device.return op with launch op result. void UpdateReturnOpResultWithLaunchOpResult(tf_device::LaunchOp* launch_op) { auto operand_not_in_launch = [&](OpOperand& operand) { return !launch_op->getOperation()->isProperAncestor(operand.getOwner()); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/test_tensor_array_side_effect_analysis.cc
return "tfrt-test-tensor-array-effect"; } llvm::StringRef getDescription() const final { return "Test TensorArraySideEffectAnalysis"; } void runOnOperation() override { auto module = getOperation(); TensorArraySideEffectAnalysis tensor_array_side_effect_analysis(module); for (auto func_op : module.getOps<mlir::func::FuncOp>()) { func_op.emitRemark() << "HasAtMostTensorArrayEffect: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 10 21:32:05 UTC 2022 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc
replicated_input.replaceAllUsesWith(pi.getOutput()); return success(); } void TPUReorderReplicateAndPartitionedInputsPass::runOnOperation() { auto result = getOperation()->walk([](TF::TPUReplicatedInputOp replicated_input) { if (llvm::none_of(replicated_input.getInputs(), [](Value input) { return llvm::isa_and_nonnull<TF::TPUPartitionedInputV2Op>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 24 23:08:55 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
operands.push_back(operand); auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(), operands, attr.getAttrs()); op->replaceAllUsesWith(new_op.getOperation()->getResults()); op->erase(); return new_op; } // Returns success if the function has at most one op of the template type and // assigns it to `result`, if present. If there are multiple such ops, returns
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0)