Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for input_ranges (3.07 sec)

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

          // Calculate operand and result segment sizes using the OpDef.
          tensorflow::NameRangeMap input_ranges, output_ranges;
          // This will fail only if the OpDef is syntactically invalid.
          if (!NameRangesForNode(node_def, *op_def, &input_ranges, &output_ranges)
                   .ok()) {
            tf_op->emitError("malformed opdef");
            return failure();
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

        if (node_names.size() != node_mins.size() ||
            node_names.size() != node_maxs.size()) {
          return true;
        }
        for (int i = 0; i < node_names.size(); ++i) {
          quant_specs->input_ranges.push_back({node_mins[i], node_maxs[i]});
        }
        return false;
      }
      if (!node_mins.empty()) {
        llvm::dbgs() << "Ignored input_min_values.";
      }
      if (!node_maxs.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

      // current function.
      bool IsLegalQuantSpecs(func::FuncOp func) {
        if (func.getName() == quant_specs_.target_func) {
          return func.getNumArguments() == quant_specs_.input_ranges.size();
        }
        return true;
      }
    
      // Get the min and max values from the quantization specification for the
      // current function and argument index. Uses default values if the function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

      bool IsLegalQuantSpecs(func::FuncOp func) {
        if (func.getName() == quant_specs_.target_func) {
          return (quant_specs_.disable_set_input_nodes_quantization_params ||
                  func.getNumArguments() == quant_specs_.input_ranges.size());
        }
        return true;
      }
    
      // Get the min and max values from the quantization specification for the
      // current function and argument index. Uses default values if the function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

      // and the model is required to have quantization parameters, either from
      // quantization aware training or calibration, for the remaining tensors.
      std::vector<std::pair<std::optional<double>, std::optional<double>>>
          input_ranges;
    
      // Whether to disable setting the quantization parameters of the input nodes
      // using input ranges.
      bool disable_set_input_nodes_quantization_params = false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/work/InputChanges.java

     *     abstract DirectoryProperty getInputDir()
     *
     *     {@literal @}OutputDirectory
     *     abstract DirectoryProperty getOutputDir()
     *
     *     {@literal @}TaskAction
     *     void execute(InputChanges inputChanges) {
     *         inputChanges.getFileChanges(inputDir).each { change -&gt;
     *             if (change.fileType == FileType.DIRECTORY) return
     *
     *             def targetFile = outputDir.file(change.normalizedPath).get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 26 09:19:43 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        // Calculate operand and result segment sizes using the OpDef.
        NameRangeMap input_ranges, output_ranges;
        // This will fail only if the OpDef is syntactically invalid.
        // TODO(jpienaar): Convert this CHECK into a properly propagated error.
        TF_CHECK_OK(
            NameRangesForNode(node, node.op_def(), &input_ranges, &output_ranges));
        if (inner_op->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts

        @get:Input
        abstract val inputProperty: Property<String>
    
        @TaskAction
        fun execute(inputChanges: InputChanges) {
            println(
                if (inputChanges.isIncremental) "Executing incrementally"
                else "Executing non-incrementally"
            )
    
            // tag::process-changed-inputs[]
            inputChanges.getFileChanges(inputDir).forEach { change ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/IncrementalTaskAction.java

            this.inputChanges = inputChanges;
        }
    
        @Override
        public void clearInputChanges() {
            this.inputChanges = null;
        }
    
        @Override
        protected void doExecute(Task task, String methodName) {
            JavaMethod.of(task, Object.class, methodName, InputChanges.class).invoke(task, inputChanges);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 30 07:31:26 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/InputChangesContext.java

        private final InputChangesInternal inputChanges;
        private final CachingState cachingState;
    
        public InputChangesContext(ValidationFinishedContext parent, @Nullable InputChangesInternal inputChanges, CachingState cachingState) {
            super(parent);
            this.inputChanges = inputChanges;
            this.cachingState = cachingState;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:26:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top