- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for UNIFORM (1.83 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions_xla.mlir
%1 = "quantfork.dcast"(%0) : (tensor<1x3x4x3x!quant.uniform<i8:f32, 0.0011764706057660721:-43>>) -> tensor<1x3x4x3xf32> %q_w = "quantfork.qcast"(%cst) : (tensor<2x3x3x2xf32>) -> tensor<2x3x3x2x!quant.uniform<i8:f32, 0.0125:-24>> %dq_w = "quantfork.dcast"(%q_w) : (tensor<2x3x3x2x!quant.uniform<i8:f32, 0.0125:-24>>) -> tensor<2x3x3x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h
return mlir::cast<TensorType>(value.getType()).getElementType(); } // Returns true iff `type` is a uniform quantized type whose storage type is // 8-bit integer and expressed type is f32. bool IsI8F32UniformQuantizedType(Type type); // Returns true iff `type` is a uniform quantized per-axis (per-channel) type // whose storage type is 8-bit integer and expressed type is f32.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir
module attributes {tf.versions = {producer = 179 : i32}} { func.func @main(%arg0: tensor<f32>) -> tensor<f32> { %0 = "stablehlo.uniform_quantize"(%arg0) : (tensor<f32>) -> tensor<!quant.uniform<ui8:f32, 34.0:16>> %1 = "stablehlo.uniform_dequantize"(%0) : (tensor<!quant.uniform<ui8:f32, 34.0:16>>) -> tensor<f32> func.return %1 : tensor<f32> } } // CHECK-LABEL: HloModule main // CHECK: ENTRY %main.{{[0-9]+}} ([[ARG0:.*]]: f32[]) -> (f32[]) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 07 16:28:50 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/FileTypes.java
FileTypes(String fileExtension, String identifier) { this.fileExtension = fileExtension; this.identifier = identifier; } /** * Map of file extension to Apple UTI (Uniform Type Identifier). */ public static final ImmutableMap<String, String> FILE_EXTENSION_TO_UTI; static { ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h
namespace mlir::quant::stablehlo { // Creates an instance of the ConvertTFQuantOpsToMHLOPass pass, which will // convert TF uniform quantized ops to the corresponding quantized MHLO ops. std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantOpsToMHLOPass(); // TODO(b/288094093): Migrate uniform quantization legalization in a separate // pass. void PopulateLegalizeTfQuantizationPatterns(MLIRContext *context,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 23 01:41:18 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h
std::unique_ptr<Pass> createOptimizePass(); // Creates a pass that finds quantization patterns and compose them to uniform // quantized types. std::unique_ptr<OperationPass<ModuleOp>> CreateComposeUniformQuantizedTypePass(); // Creates a pass that finds stablehlo ops that accept or produce uniform // quantized typed tensors and converts them to equivalent ops in the TFLite // dialect. std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 3.2K bytes - Viewed (0) -
src/internal/trace/mud.go
// distribution). This makes it easier to work with as it's being // updated. // // It is represented as the sum of scaled uniform distribution // functions and Dirac delta functions (which are treated as // degenerate uniform distributions). type mud struct { sorted, unsorted []edge // trackMass is the inverse cumulative sum to track as the // distribution is updated. trackMass float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py
def data_gen(): for _ in range(255): yield { 'x': ops.convert_to_tensor( np.random.uniform(size=(10)).astype('f4') ), 'y': ops.convert_to_tensor( np.random.uniform(size=(10)).astype('f4') ), } root = ModelWithAdd() temp_path = self.create_tempdir().full_path saved_model_save.save(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 11 00:47:05 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.td
}]; let options = [ Option<"unpack_quantized_types_", "unpack-quantized-types", "bool", /*default=*/"true", "Unpacks ops with uniform quantized types into " "operations without uniform quantized types (mostly i8 or i32)."> ]; let dependentDialects = [ "mlir::stablehlo::StablehloDialect", "mlir::TF::TensorFlowDialect",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize_batch_matmul.mlir
%0 = arith.constant dense<[[1.0], [2.0]]> : tensor<2x1xf32> %1 = "tfl.quantize"(%0) {qtype = tensor<2x1x!quant.uniform<i8:f32, 0.024986599940879671:92>>} : (tensor<2x1xf32>) -> tensor<2x1x!quant.uniform<i8:f32, 0.024986599940879671:92>> %2 = "tfl.dequantize"(%1) : (tensor<2x1x!quant.uniform<i8:f32, 0.024986599940879671:92>>) -> tensor<2x1xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 9K bytes - Viewed (0)