- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 432 for genValue (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.cc
if (replicate_attr.getValue().empty()) return op.emitOpError() << "has an empty '" << kReplicationInfoAttr << "' attribute."; if (failed(IsValidDeviceTypeOrEmpty(compile_attr))) { return op.emitOpError() << "has invalid '" << kCompileDeviceTypeAttr << "' value '" << compile_attr.getValue() << "'"; } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc
assert(op_attrs); op_attrs->clear(); mlir::Builder builder(context); for (auto iter : op_attr_array) { auto key_value = mlir::cast<mlir::ArrayAttr>(iter).getValue(); llvm::StringRef key = mlir::cast<mlir::StringAttr>(key_value[0]).getValue(); mlir::Attribute value = key_value[1]; op_attrs->push_back({key, value}); } } mlir::ParseResult ParseExecuteOpCommon(mlir::OpAsmParser &parser,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java
asFileSystemLocationProperty.conventionFromAnyFile(new DefaultProvider<>(() -> mapping.getValue(_convention, _source))); } else if (target instanceof Property) { Property<Object> asProperty = Cast.uncheckedNonnullCast(target); asProperty.convention(new DefaultProvider<>(() -> mapping.getValue(_convention, _source))); } else if (target instanceof MapProperty) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnumBuildOption.java
String value = options.option(config.getLongOption()).getValue(); applyTo(value, settings, Origin.forCommandLine(config.getLongOption())); } } } private void applyTo(String value, T settings, Origin origin) { applyTo(getValue(value), settings, origin); } private E getValue(String value) { E enumValue = null; if (value != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:39 UTC 2024 - 4K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/value_types_json.go
return json.Marshal(this.IntVal.GetValue()) } return json.Marshal(this.StrVal.GetValue()) } func (this *IntOrString) UnmarshalJSONPB(_ *github_com_golang_protobuf_jsonpb.Unmarshaler, value []byte) error { return this.UnmarshalJSON(value) } func (this *IntOrString) ToKubernetes() intstr.IntOrString { if this.IntVal != nil { return intstr.FromInt32(this.GetIntVal().GetValue()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
// Push other attributes except the TFLFusableOp. if (attr_item.getName() == kTFLFusableOp && mlir::dyn_cast<BoolAttr>(attr_item.getValue()).getValue()) { tfl_fusable_op = true; } else { attributes.push_back({attr_item.getName(), attr_item.getValue()}); } } if (!tfl_fusable_op) return; if (failed(ConvertTflFusableOp(func, api_name, attributes))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue()); if (oldValue != null) { throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]); } K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey()); if (oldKey != null) { throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java
.map(v -> (AnnotationMirror) v.getValue()) .orElseThrow(() -> new AnnotationReadFailure(String.format("Missing 'deprecation' attribute in @%s", ReplacesEagerProperty.class.getSimpleName()))); boolean enabled = AnnotationUtils.findAnnotationValueWithDefaults(elements, deprecation, "enabled") .map(annotationValue -> (Boolean) annotationValue.getValue())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 24.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
ElementsAttr attr; ShapedType type; InspectResult result = {}; if (auto cst = dyn_cast<ConstOp>(inst)) { attr = cst.getValue(); type = mlir::cast<ShapedType>(cst.getType()); } else if (auto cst = dyn_cast<QConstOp>(inst)) { attr = cst.getValue(); type = mlir::cast<ShapedType>(cst.getType()); } else { result.can_compress = false; return result; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/StandaloneSessionBuilderTest.kt
} val ktFileInCommon = session.modulesWithFiles.getValue(commonModule).single() as KtFile val callInCommon = ktFileInCommon.findDescendantOfType<KtCallExpression>()!! callInCommon.assertIsCallOf(CallableId(FqName("some.example"), FqName("Person"), Name.identifier("greet"))) val ktFileInJvm = session.modulesWithFiles.getValue(sourceModule).single() as KtFile
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 16.7K bytes - Viewed (0)