Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for output_types (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

          auto *value_op = assign_variable_op.getValue().getDefiningOp();
          auto dq_op = dyn_cast_or_null<DequantizeOp>(value_op);
          if (dq_op) {
            Type output_type = dq_op.getInput().getType();
            auto qtype = quant::QuantizedType::getQuantizedElementType(output_type);
            if (qtype == quant::QuantizedType::getQuantizedElementType(ref_qtype)) {
              // Same quantization parameters, remove it.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    // to the `output_buffer`. Both `model_buffer` and `output_buffer` should be a
    // valid FlatBuffer format for Model supported by TFLite.
    //
    // The `input_type`, `output_type` and `inference_type` can be float32 / qint8 /
    // int8 / int16.
    //
    // Returns a partially quantized model if `fully_quantize` is false. Returns a
    // non-OK status if the quantization fails.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/software/reporting/src/main/java/org/gradle/api/reporting/SingleFileReport.java

        @Override
        @OutputFile
        RegularFileProperty getOutputLocation();
    
        /**
         * Always returns {@link Report.OutputType#FILE}
         *
         * @return {@link Report.OutputType#FILE}
         */
        @Override
        OutputType getOutputType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

          flow_type.getRank() != 4) {
        return func_.emitWarning() << "Flow should be a 4D float tensor";
      }
    
      auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(
          func_.getFunctionType().getResult(0));
      if (!output_type || !output_type.getElementType().isF32() ||
          output_type.getRank() != 4) {
        return func_.emitWarning() << "Output should be a 4D float tensor";
      }
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

                   << ", output_inference_type: "
                   << tflite::EnumNameTensorType(output_type) << "\n";
      mlir::Builder mlir_builder(&context);
      mlir::Type input_mlir_type =
          tflite::ConvertElementType(input_type, mlir_builder);
      mlir::Type output_mlir_type =
          tflite::ConvertElementType(output_type, mlir_builder);
    
      if (fully_quantize) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/software/reporting/src/main/java/org/gradle/api/reporting/DirectoryReport.java

        File getEntryPoint();
    
        @OutputDirectory
        @Override
        DirectoryProperty getOutputLocation();
    
        /**
         * Always returns {@link Report.OutputType#DIRECTORY}
         *
         * @return {@link Report.OutputType#DIRECTORY}
         */
        @Override
        OutputType getOutputType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/DefaultReportContainerTest.groovy

            final Property<Boolean> required = TestUtil.objectFactory().property(Boolean).value(false)
    
            TestReport(String name, Describable displayName, OutputType outputType) {
                super(name, displayName, outputType)
            }
    
            @Override
            FileSystemLocationProperty<? extends FileSystemLocation> getOutputLocation() {
                return null
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/internal/TaskReportContainerIntegTest.groovy

                    @TaskAction
                    def doStuff() {
                        reports.enabled.each {
                             if (it.outputType == Report.OutputType.FILE) {
                                 assert it.outputLocation.asFile.get().parentFile.exists() && it.outputLocation.asFile.get().parentFile.directory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        if (!input_dequant) return failure();
    
        if (!IsQI32Type(input_dequant.getType())) return failure();
    
        auto output_type =
            mlir::dyn_cast_or_null<ShapedType>(dequant_op.getOutput().getType());
        if (!output_type || !output_type.getElementType().isF32()) return failure();
    
        auto input_type = mlir::dyn_cast<ShapedType>(input_dequant.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

        ArrayRef<int64_t> reshape_shape = reshape_type.getShape();
    
        auto input_type = mlir::cast<ShapedType>(op.getInput().getType());
        auto output_type = mlir::cast<ShapedType>(op.getOutput().getType());
    
        if (!input_type.hasRank() || !output_type.hasRank()) return failure();
    
        // The pattern attempts to reduce the rank of the input to BroadcastTo.
        // Thus, we fail to match if the consuming reshape rank is larger.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top