- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for Fremovexattr (0.56 sec)
-
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
func.walk([&](Operation *op) { if (op->getDialect() != tf_dialect) return; if (IsAllowListedOp(op)) return; if (op->hasAttr(kNoFallbackAttr)) { op->removeAttr(kNoFallbackAttr); return; } if (!ConvertToFlexOp(op)) signalPassFailure(); }); } } // namespace internal std::unique_ptr<OperationPass<func::FuncOp>> CreateFallbackToFlexOpsPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
// errors later on. These ops were likely lifted out of the // tf_device.cluster in an earlier pass. module.walk([](Operation* op) { op->removeAttr(kXlaOutsideCompilationAttr); op->removeAttr(kXlaMapOutsideCompilationAttr); }); if (failed(CheckPostconditions(module))) return signalPassFailure(); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
PatternRewriter& rewriter) const override { const auto f_attr = mlir::dyn_cast<FlatSymbolRefAttr>(call_op.getFAttr()); // removeAttr will return nullptr if no attribute was removed. if (!call_op->removeAttr(kQuantTraitAttrName) || !f_attr) { return failure(); } if (!f_attr.getValue().starts_with(kCompositeFuncPrefix)) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
for (auto& attr : func->getAttrs()) { StringRef attr_name = attr.getName().getValue(); if (attr_name.starts_with("tf_saved_model.")) { func->removeAttr(attr_name); } } auto iface = cast<FunctionOpInterface>(func.getOperation()); for (int i = 0; i < func.getNumArguments(); ++i) { for (auto& attr : iface.getArgAttrs(i)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
.getValue()); // Remove the attribute from the instruction as it is already converted to // op_name. auto attr_id = mlir::StringAttr::get(inst->getContext(), "f"); inst->removeAttr(attr_id); } else { // Some control flow ops in TensorFlow Graph have their respective "Ref" ops // as well. For example there is Enter and RefEnter op. RefEnter forwards
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
if (info.is_read) { Operation* read = builder.create<TF::ReadVariableOp>( op_->getLoc(), info.data_type, resource); read->setAttrs(info.read_attrs ? info.read_attrs : empty_attrs); read->removeAttr(kDeviceAttr); info.hoisted_read = read->getResult(0); } } } // Replaces all resource reads with the hoisted read. void RegionResourceHoister::ReplaceResourceLoads(Region& region,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// Create a new if op with new operands and updated result types. auto converted = rewriter.create<TF::IfOp>( op.getLoc(), result_types, adaptor.getOperands(), op->getAttrs()); converted->removeAttr("T"); (void)UpdateFunctionTypesForIfOp(rewriter, converted, adaptor.getOperands(), tensor_list_args, resized_tensor_lists, result_types);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
} else { return op->emitOpError() << "embedding op has unknown " << kEmbeddingPipelining << " attribute value " << region << "."; } op->removeAttr(kEmbeddingPipelining); } return WalkResult::advance(); }); if (walk_result.wasInterrupted()) return signalPassFailure(); // If there are no forward pass ops, there is no SC, so we end early.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
src/syscall/syscall_linux.go
//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT //sysnb prlimit1(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64 //sys read(fd int, p []byte) (n int, err error) //sys Removexattr(path string, attr string) (err error) //sys Setdomainname(p []byte) (err error) //sys Sethostname(p []byte) (err error) //sysnb Setpgid(pid int, pgid int) (err error) //sysnb Setsid() (pid int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0)