- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,107 for gotType (0.25 sec)
-
tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc
return; } auto element_type = splat_elements_attr.getType().getElementType(); if (!(element_type.isF32() || element_type.isF16() || element_type.isInteger(1) || element_type.isInteger(32) || element_type.isInteger(64))) { return; } if (splat_elements_attr.getNumElements() * splat_elements_attr.getType().getElementTypeBitWidth() < kConstantSizeThresholdInBits) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
CPred<"$0.getType() == $1.getType()">>; // Checks if the given two values are the same. def AreTheSameValue : Constraint< CPred<"$0 == $1">>; // Checks if the value has rank. def HasRank : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank()">>; // Checks if the value has rank of `n`. class HasRankOf<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
Value AccumulateBuffers(Value a, Value b, OpBuilder builder, Location loc) { if (getElementTypeOrSelf(a.getType()) == builder.getI1Type()) { return builder.create<TF::LogicalOrOp>(loc, ArrayRef<Type>{a.getType()}, ArrayRef<Value>{a, b}); } return builder.create<TF::AddV2Op>(loc, ArrayRef<Type>{a.getType()}, ArrayRef<Value>{a, b}); } namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/UnmanagedModelProjection.java
return InstanceModelView.of(modelNode.getPath(), getType(), instance); } @Override public Optional<String> getValueDescription(MutableModelNode modelNode) { Object instance = this.asImmutable(ModelType.untyped(), modelNode, null).getInstance(); if (instance == null) { if (isPrimitiveType(getType())) { if (getType().equals(ModelType.of(char.class))) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
LogicalResult match(stablehlo::SelectOp op) const override { if (!IsQuantizedTensorType(op.getOperand(1).getType())) { return failure(); } if (!IsQuantizedTensorType(op.getOperand(2).getType())) { return failure(); } if (!IsQuantizedTensorType(op.getResult().getType())) { return failure(); } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/projection/ManagedModelProjection.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
StringAttr conv_padding = op.getPaddingAttr(); SmallVector<int64_t> padding_nums; ShapedType lhs_shape = mlir::cast<ShapedType>(op.getLhs().getType()); ShapedType rhs_shape = mlir::cast<ShapedType>(op.getRhs().getType()); // Handle only static shape cases. // TODO(b/260284866): Handle dynamic shape cases. if (!lhs_shape.hasStaticShape()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/BindingPredicate.java
ModelType<?> type = reference.getType(); return "{type: " + (type == null ? null : type.getDisplayName()) + ", path: " + getPath() + ", scope: " + getScope() + ", state: " + getState() + "}"; } @Nullable @Override public ModelPath getPath() { return reference.getPath(); } public ModelType<?> getType() { return reference.getType(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/fix/gotypes_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func init() { addTestCases(gotypesTests, gotypes) } var gotypesTests = []testCase{ { Name: "gotypes.0", In: `package main import "golang.org/x/tools/go/types" import "golang.org/x/tools/go/exact" var _ = exact.Kind func f() { _ = exact.MakeBool(true) } `,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelViews.java
if (type.isAssignableFrom(untypedView.getType())) { @SuppressWarnings("unchecked") ModelView<T> view = (ModelView<T>) untypedView; return view; } else { // TODO better exception type throw new IllegalArgumentException("Model view of type " + untypedView.getType() + " requested as " + type); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.3K bytes - Viewed (0)