- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 73 for getElementDtype (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc
absl::StrCat("Converting ", debugString(type), " to DataType")); } } else if (auto complex_type = mlir::dyn_cast<mlir::ComplexType>(type)) { auto etype = complex_type.getElementType(); if (etype.isF32()) { *dtype = DT_COMPLEX64; return absl::OkStatus(); } else if (etype.isF64()) { *dtype = DT_COMPLEX128; return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td
def QuantizeByQuantizedType : NativeCodeCall<"quant::Quantize($0, $1.getValue())">; def F32ElementsAttr : ElementsAttrBase< CPred<"$_self.cast<ElementsAttr>().getShapedType().getElementType().isF32()">, "float constant tensor">; // Squash tfl.dequantize and tfl.quantize pairs. // TODO(fengliuai): Compare the scale of input and output. This can also be // squashed to a requantize op if the scales are different.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:10:13 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapNodeInitializerExtractionStrategy.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc
if (!output_type || !output_type.getElementType().isF32()) return failure(); auto input_type = mlir::dyn_cast<ShapedType>(input_dequant.getType()); // TODO(renjieliu): support UniformQuantizedPerAxisType. auto q_type = mlir::dyn_cast_or_null<quant::UniformQuantizedType>( input_type.getElementType()); if (!q_type) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/TypeUtils.java
} if (type.equals(Type.DOUBLE_TYPE)) { return ClassName.DOUBLE; } if (type.getSort() == Type.ARRAY) { return ArrayTypeName.of(typeName(type.getElementType())); } return className(type); } public static ClassName className(Type type) { return ClassName.bestGuess(type.getClassName().replace("$", ".")); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 15:45:10 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc
output_shape[3] = composite_result_shape[1]; auto input_type = mlir::cast<ShapedType>(old_op->getOperand(0).getType()); return RankedTensorType::get(output_shape, input_type.getElementType()); } } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 18:33:05 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
// doesn't require quantization. auto tensor_type = mlir::dyn_cast<TensorType>(value.getType()); if (!tensor_type) { // There are none type values. return; } if (!tensor_type.getElementType().isF32()) return; // If the result is consumed by a quantize op, it has been quantized. if (value.hasOneUse() && llvm::isa<TFL::QuantizeOp>(*value.getUsers().begin())) return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc
if (!splat_elements_attr) { return; } if (splat_elements_attr.getNumElements() == 1) { return; } auto element_type = splat_elements_attr.getType().getElementType(); if (mlir::isa<ComplexType>(element_type) || mlir::isa<quant::QuantizedType>(element_type)) { return; } op_builder->setInsertionPoint(const_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java
if (parameterInfo.getKind() == ParameterKindInfo.VARARG_METHOD_PARAMETER && renderVararg) { return CodeBlock.of("$T...", typeName(parameterInfo.getParameterType().getElementType())); } return CodeBlock.of("$T", typeName(parameterInfo.getParameterType())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/api/internal/plugins/DefaultArtifactPublicationSet.java
defaultArtifacts = null; changingValue.handle(previousArtifacts); } } @Override public Class<? extends PublishArtifact> getElementType() { return PublishArtifact.class; } @Override public int size() { if (artifacts == null) { return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5K bytes - Viewed (0)