- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for removeStar (0.21 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) -
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/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) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
AddCallOpInWhileOpRegion(while_op.getCond(), cond); while_op->removeAttr("cond"); auto body = symbol_table.lookup<mlir::func::FuncOp>( while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue()); AddCallOpInWhileOpRegion(while_op.getBody(), body); while_op->removeAttr("body"); }); } void AddRegionsForStableHLOOp(mlir::ModuleOp module) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc
auto global_tensor = kv.first; const auto& global_tensor_uses = kv.second; if (IsImmutable(global_tensor, global_tensor_uses, resource_analyzer)) { global_tensor->removeAttr("is_mutable"); } } } void EraseUnusedGlobalTensors(ModuleOp module, const GlobalTensorUsesMap& global_tensor_uses) { for (auto global_tensor :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
} // The OK status means this op is quantizable. Return failure since the // pattern doesn't rewrite anything yet. if (check_status.ok()) return failure(); call_op->removeAttr(kQuantTraitAttrName); removeAttrMapAttribute(call_op, function_name, check_status.message()); return success(); } // Get the quantization method to apply to this composite function. If set,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
// nested ops. for (Operation* cluster_op : cluster_ops) { cluster_op->moveBefore(body, body->end()); cluster_op->walk([&](Operation* inner_op) { inner_op->removeAttr(mlir::TF::kReplicationInfoAttr); inner_op->removeAttr(mlir::TF::kCompileDeviceTypeAttr); if (auto attr = inner_op->getAttrOfType<StringAttr>(kDeviceAttr)) { // Preserve device attribute if the op is placed on a replicated core
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0)