Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for input_type (0.15 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionAdapterTest.groovy

            ruleAction.execute("string", [])
    
            then:
            ruleAction.inputTypes == []
            closureCalled == "string"
    
            when:
            ruleAction = ruleActionAdapter.createFromClosure(String, { s -> closureCalled = s })
            ruleAction.execute("object", [])
    
            then:
            ruleAction.inputTypes == []
            closureCalled == "object"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/ClosureBackedRuleAction.java

        private final List<Class<?>> inputTypes;
    
        public ClosureBackedRuleAction(Class<T> subjectType, Closure<?> closure) {
            this.subjectType = subjectType;
            this.closure = closure;
            this.inputTypes = parseInputTypes(closure);
        }
    
        @Override
        public List<Class<?>> getInputTypes() {
            return inputTypes;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/MergeInstrumentationAnalysisTransform.java

            File input = getInput().get().getAsFile();
            InstrumentationInputType inputType = getInputType(input);
            switch (inputType) {
                case DEPENDENCY_ANALYSIS_DATA:
                    doMergeAndOutputAnalysis(input, outputs);
                    return;
                case ORIGINAL_ARTIFACT:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) {
        Type inputType = std::get<0>(input);
        Attribute inputSpec = std::get<1>(input);
        if (!isValidQuantizationSpec(inputSpec, inputType)) {
          return emitOpError() << "has incompatible specification " << inputSpec
                               << " and input type " << inputType;
        }
      }
    
      for (auto result : llvm::zip(getResultTypes(), getOutputSpecs())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

      for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) {
        Type inputType = std::get<0>(input);
        Attribute inputSpec = std::get<1>(input);
        if (!isValidQuantizationSpec(inputSpec, inputType)) {
          return emitOpError() << "has incompatible specification " << inputSpec
                               << " and input type " << inputType;
        }
      }
    
      for (auto result : llvm::zip(getResultTypes(), getOutputSpecs())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc

      }
    
      std::vector<Value> inputs;
      std::vector<Value> outputs;
      computeInputsOutputs(ops, &inputs, &outputs);
    
      std::vector<Type> input_types;
      std::vector<Type> output_types;
    
      input_types.reserve(inputs.size());
      for (Value v : inputs) {
        input_types.push_back(v.getType());
      }
      output_types.reserve(outputs.size());
      for (Value v : outputs) {
        output_types.push_back(v.getType());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    GraphdefToMlirTranslateFunction(
        llvm::StringRef input, const std::vector<std::string>& input_arrays,
        const std::vector<std::string>& input_dtypes,
        const std::vector<std::optional<std::vector<int>>>& input_shapes,
        const std::vector<std::string>& output_arrays,
        const std::vector<std::string>& control_output_arrays,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/RuleSourceBackedRuleAction.java

        private final R instance;
        private final JavaMethod<R, T> ruleMethod;
        private final List<Class<?>> inputTypes;
    
        private RuleSourceBackedRuleAction(R instance, JavaMethod<R, T> ruleMethod) {
            this.instance = instance;
            this.ruleMethod = ruleMethod;
            this.inputTypes = determineInputTypes(ruleMethod.getParameterTypes());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

    }
    
    Type InferReductionOpType(Value input, Value reduction_indices,
                              BoolAttr keep_dims) {
      Type input_ty = input.getType();
      Type element_ty = getElementTypeOrSelf(input_ty);
    
      // Output type is unranked if input type is not ranked.
      auto ranked_ty = mlir::dyn_cast<RankedTensorType>(input_ty);
      if (!ranked_ty) return UnrankedTensorType::get(element_ty);
      int64_t rank = ranked_ty.getRank();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/TypeUtils.java

        static {
            Map<Type, String> map = new HashMap<>();
            map.put(Type.BYTE_TYPE, "0");
            map.put(Type.SHORT_TYPE, "0");
            map.put(Type.INT_TYPE, "0");
            map.put(Type.LONG_TYPE, "0L");
            map.put(Type.FLOAT_TYPE, "0.0f");
            map.put(Type.DOUBLE_TYPE, "0.0");
            map.put(Type.CHAR_TYPE, "'\\u0000'");
            map.put(Type.BOOLEAN_TYPE, "false");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 15:45:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top