- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 85 for Fremovexattr (0.33 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
Operation* iter_op = op; bool remove_attr = false; while (auto* parent_op = iter_op->getParentOp()) { if (parent_op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) { remove_attr = true; break; } iter_op = parent_op; } if (remove_attr) op->removeAttr(kXlaOutsideCompilationAttr); }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/move_tpu_compile_to_front.cc
op = op->getParentOp(); } } }); } void UnmarkCompilationOps(Operation* func) { func->walk([&](Operation* op) { while (op && op != func) { op->removeAttr("_is_compilation"); op->removeAttr("_wraps_compilation"); op = op->getParentOp(); } }); } int OutsideCompilationOrdering(Operation* predecessor, Operation* op) { // Actual compilations go first.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 17 00:26:18 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc
// Convert `_tpu_replicate`. if (op->hasAttr(TF::kTpuReplicateAttr)) { op->setAttr(tensorflow::kReplicationInfoAttr, op->getAttr(TF::kTpuReplicateAttr)); op->removeAttr(tensorflow::kTpuReplicateAttr); op->setAttr(tensorflow::kCompileDeviceTypeAttr, builder.getStringAttr(tensorflow::kTpuDevice)); } // Convert `_XlaMustCompile`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_to_legacy_compile_and_replicate_attributes.cc
return WalkResult::interrupt(); if (op->hasAttr(TF::kReplicationInfoAttr)) { op->setAttr(TF::kTpuReplicateAttr, op->getAttr(TF::kReplicationInfoAttr)); op->removeAttr(TF::kReplicationInfoAttr); op->removeAttr(TF::kCompileDeviceTypeAttr); } return mlir::WalkResult::advance(); }); return failure(result.wasInterrupted()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_saved_module_metadata.cc
for (auto namedAttr : stripAttrs) { module->removeAttr(namedAttr.getName()); } } void StripFunction(func::FuncOp func) { auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range( func->getAttrs(), [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); })); for (auto namedAttr : stripAttrs) { func->removeAttr(namedAttr.getName()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_tf_attributes.cc
auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range( func->getAttrs(), [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); })); for (auto namedAttr : stripAttrs) { func->removeAttr(namedAttr.getName()); } for (int i = 0; i < func.getNumArguments(); ++i) { llvm::ArrayRef<mlir::NamedAttribute> attrs = mlir::function_interface_impl::getArgAttrs(func, i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 3.2K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/jsconf.js
alidation||{},function(b,d){var e;e="#"===b[0]?a(b):"."===b[0]?c.find(b):c.find('*[name="'+b+'"]'),e.attr("data-validation",d.validation),a.each(d,function(a,b){"validation"!==a&&b!==!1&&(b===!0&&(b="true"),"_"===a[0]?(a=a.substring(1),b===!1?e.removeAttr(a):e.attr(a,b)):e.valAttr(a,b))})}),a.validate(b)}}(a)});...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 867 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
function_name.contains("conv3d"))) { call_op->removeAttr(kQuantTraitAttrName); } // TODO(b/270906404): Support weight-only gather for uniform quantized opset // in PTQ mode if (target_opset_ == OpSet::UNIFORM_QUANTIZED && function_name.contains("gather")) { call_op->removeAttr(kQuantTraitAttrName); } return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
if (!f->hasAttr(kFromXlaCallModuleAttrName)) { return WalkResult::advance(); } auto cloned = llvm::cast<func::FuncOp>(builder.clone(*f)); cloned->removeAttr(kFromXlaCallModuleAttrName); if (f == entry_func) { // Entry function must be public and has symbol name "@main". cloned.setPublic(); cloned.setName(kStablehloMainFunctionName);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_noinline_attribute.cc
// void runOnOperation() override; void runOnOperation() override { // Strip the "tf._noinline" attribute from top-level functions. for (auto func_op : getOperation().getOps<func::FuncOp>()) func_op->removeAttr("tf._noinline"); } }; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateStripNoinlineAttributePass() { return std::make_unique<StripNoinlineAttributePass>(); } } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 1.5K bytes - Viewed (0)