- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for removeStar (0.17 sec)
-
src/go/doc/reader.go
Methods: sortedFuncs(t.methods, allMethods), } i++ } slices.SortFunc(list, func(a, b *Type) int { return strings.Compare(a.Name, b.Name) }) return list } func removeStar(s string) string { if len(s) > 0 && s[0] == '*' { return s[1:] } return s } func sortedFuncs(m methodSet, allMethods bool) []*Func { list := make([]*Func, len(m)) i := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
void runOnOperation() override; }; // Set the (array of) exported name(s) of a (public) function to just // contain the given string. void SetExportedName(func::FuncOp f, StringRef name) { OpBuilder b(f); f->removeAttr(kTfSavedModelExportedNamesAttr); f->setAttr(kTfSavedModelExportedNamesAttr, b.getStrArrayAttr({name})); } // Convert a savedmodel public function into a private function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K 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) -
tests/integration/telemetry/api/customize_metrics_test.go
return err } return nil }, retry.Delay(1*time.Second), retry.Timeout(300*time.Second)) // check tag removed if strings.Contains(httpMetricVal, removedTag) { t.Errorf("failed to remove tag: %v", removedTag) } util.ValidateMetric(t, cluster, promInst, httpDestinationQuery, 1) util.ValidateMetric(t, cluster, promInst, grpcDestinationQuery, 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 5.5K 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) -
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/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc
PatternRewriter& rewriter) const override { // Remove `_tpu_replicate` attributes on each operation first. if (op->hasAttr(tensorflow::kTPUReplicateAttr)) { op->removeAttr(tensorflow::kTPUReplicateAttr); return success(); } // Remove TPU operations. if (isa<TF::TPUReplicateMetadataOp, TF::TPUCompilationResultOp, TF::TPUOrdinalSelectorOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
if err != nil { return err } // nolint return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o) } return nil } // removeTag removes an existing revision tag. func removeTag(ctx context.Context, kubeClient kubernetes.Interface, tagName string, skipConfirmation bool, w io.Writer) error { webhooks, err := GetWebhooksWithTag(ctx, kubeClient, tagName) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 16.3K bytes - Viewed (0)