- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for setAttrs (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
auto new_call = builder.create<CallOpType>( call_op.getLoc(), lifting_info.lifted_callee.getFunctionType().getResults(), new_operands, call_op->getAttrs()); new_call->setAttr("f", SymbolRefAttr::get(builder.getContext(), lifting_info.lifted_callee.getName())); AddLoadsStoresOutsideControlFlowOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java
return isReadable() && setters.stream().noneMatch(method -> method.getParameterTypes()[0].equals(getType())); } public boolean isReadable() { return mainGetter != null; } public boolean isWritable() { return !setters.isEmpty(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 63K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
op->setAttr(TF::kReplicationInfoAttr, attr); } } // Replaces the replication region attribute if it already exists. void UpdateReplicationAttr(TF::TPUCompilationResultOp& op, StringAttr attr) { // Special case for getting the replication region for // TPUCompilationResultsOp. if (op->hasAttr(kTpuCompilationStatus)) { op->setAttr(kTpuCompilationStatus, attr); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
// doesn't automatically preclude some scenarios from happening. t.Parallel() if ignoreWatchCacheTests && tt.ignoreForWatchCache { t.Skip() } if tt.pred.GetAttrs == nil { tt.pred.GetAttrs = getAttrs } out := &example.PodList{} storageOpts := storage.ListOptions{ ResourceVersion: tt.rv, ResourceVersionMatch: tt.rvMatch, Predicate: tt.pred,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
// use it in exports or if there are breaking changes module->setAttr("tfl.schema_version", builder.getI32IntegerAttr(model->version)); if (!model->description.empty()) { module->setAttr("tfl.description", builder.getStringAttr(model->description)); } if (!metadata_attrs.empty()) { module->setAttr("tfl.metadata", builder.getDictionaryAttr(metadata_attrs)); }
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/tf2xla/internal/passes/extract_outside_compilation.cc
// type auto new_device_cluster = builder.create<mlir::tf_device::ClusterOp>( device_cluster.getLoc(), device_result_types, /*operands=*/llvm::ArrayRef<Value>{}, device_cluster->getAttrs()); new_device_cluster.getBody().push_back(new Block); builder.setInsertionPointToEnd(&new_device_cluster.GetBody()); // Create return op for device computation region in the paralle_execute op
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/lite/transforms/lower_static_tensor_list.cc
ConversionPatternRewriter &rewriter) const override { Value input = adaptor.getOperands()[0]; rewriter.replaceOpWithNewOp<TF::IdentityOp>( op, input.getType(), adaptor.getOperands(), op->getAttrs()); return success(); } }; struct ConvertReturn : public OpConversionPattern<func::ReturnOp> { using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
watchTests: []*testWatchStruct{{basePod, false, ""}, {basePodAssigned, true, watch.Added}}, pred: storage.SelectionPredicate{ Label: labels.Everything(), Field: fields.ParseSelectorOrDie("spec.nodeName=bar"), GetAttrs: func(obj runtime.Object) (labels.Set, fields.Set, error) { pod := obj.(*example.Pod) return nil, fields.Set{"spec.nodeName": pod.Spec.NodeName}, nil }, }, }, { name: "update",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
key_and_value_pair[0], "' attribute")); continue; } inner_op.setAttr(llvm::StringRef(std::string(key_and_value_pair[0])), identifier_to_attr[llvm::StringRef( std::string(key_and_value_pair[1]))]); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
when: def sideEffect = Mock(ValueSupplier.SideEffect) def providerWithSideEffect = Providers.of(someValue()).withSideEffect(sideEffect) // `PropertyInternal` does not directly provide these setters, // but all user-facing interfaces and their implementations do. property."$setter"(providerWithSideEffect) property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0)