- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for IntegerType (0.2 sec)
-
tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 11:52:27 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc
// capability. if (!((mlir::isa<TF::StringType>(key_dtype) && mlir::isa<IntegerType>(value_dtype) && mlir::cast<IntegerType>(value_dtype).getWidth() == 64) || (mlir::isa<TF::StringType>(value_dtype) && mlir::isa<IntegerType>(key_dtype) && mlir::cast<IntegerType>(key_dtype).getWidth() == 64))) { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h
if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) { FloatAttr attr = FloatAttr::get(float_ty, raw_value); return DenseElementsAttr::get(scalar_ty, attr); } else if (auto int_ty = mlir::dyn_cast<IntegerType>(ty)) { IntegerAttr attr = IntegerAttr::get(int_ty, raw_value); return DenseElementsAttr::get(scalar_ty, attr); } else if (auto complex_ty = mlir::dyn_cast<ComplexType>(ty)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
.getSExtValue()]); } } return mlir::DenseElementsAttr::get( RankedTensorType::get( {static_cast<int>(new_permutation.size())}, mlir::IntegerType::get(permutation1.getContext(), 32)), llvm::ArrayRef(new_permutation)); } // Utility function to map final permutation to initial permutation // initial -> permutation1 -> permutation2 -> final
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
IntegerAttr::get(IntegerType::get(fn.getContext(), /*width=*/32), num_layers)); // current_layer_index Composite Attribute. mlir::StringAttr current_layer_str = builder.getStringAttr("layer_index"); NamedAttribute current_layer_attr( current_layer_str, IntegerAttr::get(IntegerType::get(fn.getContext(), /*width=*/32),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
mlir::isa<IntegerType>(type.getElementType())); } for (auto result : op->getResults()) { ShapedType type = mlir::cast<ShapedType>(result.getType()); allTypesFp &= !mlir::isa<quant::QuantizedType>(type.getElementType()); allTypesQuantizedOrInt &= (mlir::isa<quant::QuantizedType>(type.getElementType()) || mlir::isa<IntegerType>(type.getElementType())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi
class IntegerAttr(Attribute): def __init__(self, *args, **kwargs) -> None: ... def get(self, arg0: int) -> IntegerAttr: ... class IntegerType(Type): def __init__(self, *args, **kwargs) -> None: ... def get(self, arg0: int) -> IntegerType: ... class Location: def __init__(self, *args, **kwargs) -> None: ... class MLIRContext: def __init__(self) -> None: ... class ModuleOp:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 09 17:10:09 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
if (mlir::isa<FloatType>(etype)) { result = BinaryFolder<mhlo::MulOp, FloatType, APFloat, std::multiplies<APFloat>>( &op); } else if (mlir::isa<IntegerType>(etype)) { result = BinaryFolder<mhlo::MulOp, IntegerType, APInt, std::multiplies<APSInt>>( &op); } if (result == Attribute()) return failure(); Value new_const_op = rewriter.create<mhlo::ConstantOp>(op.getLoc(), result);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
src/unsafe/unsafe.go
// part of the unsafe package. It represents the type of an arbitrary Go expression. type ArbitraryType int // IntegerType is here for the purposes of documentation only and is not actually // part of the unsafe package. It represents any arbitrary integer type. type IntegerType int // Pointer represents a pointer to an arbitrary type. There are four special operations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/utils.cc
} DenseIntElementsAttr GetI64ElementsAttr(ArrayAttr attr) { RankedTensorType ty = RankedTensorType::get(static_cast<int64_t>(attr.size()), IntegerType::get(attr.getContext(), 64)); return DenseIntElementsAttr::get(ty, attr.getValue()); } DenseIntElementsAttr GetI64ElementsAttr(ArrayRef<int64_t> values, Builder* builder) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 1.8K bytes - Viewed (0)