- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 248 for getUses (0.2 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
if (!convert_op.getResult().hasOneUse()) { return false; } auto other_convert_op = dyn_cast_or_null<OtherConvertOp>( *convert_op.getResult().getUsers().begin()); return other_convert_op && converter.isLegal(other_convert_op.getResult().getType()); } return true; } class BFloat16TypeConversionTarget : public ConversionTarget { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
cluster/gce/gci/audit_policy_test.go
obj := attrs.GetPath() if attrs.IsResourceRequest() { obj = attrs.GetResource() if attrs.GetNamespace() != "" { obj = obj + ":" + attrs.GetNamespace() } } name := fmt.Sprintf("%s.%s.%s", attrs.GetUser().GetName(), attrs.GetVerb(), obj) evaluator := t.evaluator t.Run(name, func(t *testing.T) { auditConfig := evaluator.EvaluatePolicyRule(attrs) assert.Equal(t, expected, auditConfig.Level)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 30 06:23:50 UTC 2021 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc
if (IsConstantOrNone(op)) { continue; } for (Value output : op->getResults()) { bool output_consumed_outside_subgraph = false; for (Operation* consumer : output.getUsers()) { if (llvm::all_of(partition_ops, [&](Operation* op) { return !op->isAncestor(consumer); })) { output_consumed_outside_subgraph = true; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java
BuildInitDsl dsl; if (isNullOrEmpty(this.dsl)) { dsl = userQuestions.selectOption("Select build script DSL", initializer.getDsls(), initializer.getDefaultDsl()); } else { dsl = BuildInitDsl.fromName(getDsl()); if (!initializer.getDsls().contains(dsl)) { throw new GradleException("The requested DSL '" + getDsl() + "' is not supported for '" + initializer.getId() + "' build type");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 24.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td
CPred<"quant::CastQuantizedTypeAttrFromExpressedType($_builder, $0, $1.getType(), " # i # ")">>; class UsedBy<string op> : Constraint< CPred<"llvm::isa<mlir::TFL::" # op # "Op>(*$0.getUsers().begin())">>; // When the op is passing-through, the output types of the quantized ops need // to be updated as well. Since the quantize op manages its own type by the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
auto symbol_uses = f.getSymbolUses(f->getParentOp()); if (!symbol_uses.has_value()) { return failure(); } for (auto use : *symbol_uses) { Operation* caller = use.getUser(); bool changed = false; rewriter.startOpModification(caller); for (auto [result, type] : llvm::zip(caller->getResults(), return_types)) { if (result.getType() != type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
llvm::dyn_cast_or_null<quantfork::StatisticsOp>( op.getOperand(input_index).getDefiningOp()), llvm::dyn_cast_or_null<quantfork::StatisticsOp>( *op.getResult().getUsers().begin()), }; if (!stats_ops[0] || !stats_ops[1]) { return failure(); // Already converted to Q-DQ pair. } llvm::SmallVector<llvm::APFloat, 4> min_max_values;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
pkg/auth/authorizer/abac/abac.go
} if err := scanner.Err(); err != nil { return nil, policyLoadError{path, -1, nil, err} } return pl, nil } func matches(p abac.Policy, a authorizer.Attributes) bool { if subjectMatches(p, a.GetUser()) { if verbMatches(p, a) { // Resource and non-resource requests are mutually exclusive, at most one will match a policy if resourceMatches(p, a) { return true } if nonResourceMatches(p, a) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 11 03:11:30 UTC 2021 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc
llvm::append_range(worklist, cluster->getResults()); while (!worklist.empty()) { mlir::Value value = worklist.back(); worklist.pop_back(); for (mlir::Operation* const user : value.getUsers()) { mlir::Operation* const op = cluster_block->findAncestorOpInBlock(*user); if (op == nullptr || !op->isBeforeInBlock(cluster)) { continue; } if (ops_to_reorder.insert(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 28 00:32:55 UTC 2023 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/request.go
ev.Level = level ips := utilnet.SourceIPs(req) ev.SourceIPs = make([]string, len(ips)) for i := range ips { ev.SourceIPs[i] = ips[i].String() } if user := attribs.GetUser(); user != nil { ev.User.Username = user.GetName() ev.User.Extra = map[string]authnv1.ExtraValue{} for k, v := range user.GetExtra() { ev.User.Extra[k] = authnv1.ExtraValue(v) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9K bytes - Viewed (0)