- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for IntegerType (0.65 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.cc
.Case<TF::Qint8Type>( [&type](Type) { return IntegerType::get(type.getContext(), 8); }) .Case<TF::Qint16Type>( [&type](Type) { return IntegerType::get(type.getContext(), 16); }) .Case<TF::Qint32Type>( [&type](Type) { return IntegerType::get(type.getContext(), 32); }) .Case<TF::Quint8Type>([&type](Type) { return IntegerType::get(type.getContext(), 8,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
{1, 2}, DT_UINT8, mlir::IntegerType::get( &context, 8, mlir::IntegerType::SignednessSemantics::Unsigned))); ASSERT_NO_FATAL_FAILURE(VerifyConversion<uint16>( {1, 2}, DT_UINT16, mlir::IntegerType::get( &context, 16, mlir::IntegerType::SignednessSemantics::Unsigned))); ASSERT_NO_FATAL_FAILURE(VerifyConversion<uint32>( {1, 2}, DT_UINT32, mlir::IntegerType::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc
BFloat16Type::get(context.get())); EXPECT_EQ(ToBfloat16Type(IntegerType::get(context.get(), 8)), IntegerType::get(context.get(), 8)); EXPECT_EQ(ToBfloat16Type(IntegerType::get(context.get(), 16)), IntegerType::get(context.get(), 16)); EXPECT_EQ(ToBfloat16Type(IntegerType::get(context.get(), 32)), IntegerType::get(context.get(), 32)); } TEST(ToBfloat16TypeTest, tensors) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 19 23:51:52 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc
EXPECT_TRUE(llvm::isa<IntegerType>(type)); EXPECT_EQ(mlir::dyn_cast<IntegerType>(type).getWidth(), 8); EXPECT_FALSE(mlir::dyn_cast<IntegerType>(type).isSigned()); EXPECT_FALSE(mlir::dyn_cast<IntegerType>(type).isUnsigned()); type = GetIntTypeFromTFQint(TF::Qint16Type::get(context.get())); EXPECT_TRUE(llvm::isa<IntegerType>(type)); EXPECT_EQ(mlir::dyn_cast<IntegerType>(type).getWidth(), 16);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc
const bool narrow_range) { return UniformQuantizedType::getChecked( loc, /*flags=*/QuantizationFlags::Signed, /*storageType=*/IntegerType::get(&context, /*width=*/8), /*expressedType=*/FloatType::getF32(&context), scale, zero_point, /*storageTypeMin=*/llvm::minIntN(8) + (narrow_range ? 1 : 0), /*storageTypeMax=*/llvm::maxIntN(8)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
"a": objectType(map[string]schema.Structural{ "b": integerType, "c": integerType, "d": withNullable(true, integerType), }), "a1": objectType(map[string]schema.Structural{ "b1": objectType(map[string]schema.Structural{ "c1": integerType, }), "d2": objectType(map[string]schema.Structural{ "e2": integerType, }), }), }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
"true": integerType, "false": integerType, "null": integerType, "in": integerType, "as": integerType, "break": integerType, "const": integerType, "continue": integerType, "else": integerType, "for": integerType, "function": integerType, "if": integerType, "import": integerType, "let": integerType, "loop": integerType, "package": integerType, "namespace": integerType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
bool is_signed = true; if (tensor.type == tflite::TensorType_UINT8) { is_signed = false; storage_type = mlir::IntegerType::get(builder.getContext(), 8); } if (!storage_type) { const mlir::Type raw_elem_type = ConvertElementType(tensor.type, builder); if (!mlir::isa<mlir::IntegerType>(raw_elem_type)) { return absl::InvalidArgumentError( "Quantized tensors must be stored as integers"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
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)