Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 130 for input_type (0.13 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelActionBuilder.java

            return action(modelPath, inputType, inputType.toString(), action);
        }
    
        public <I> ModelAction action(String modelPath, ModelType<I> inputType, BiAction<? super T, ? super I> action) {
            return action(modelPath, inputType, modelPath, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/DefaultRuleActionValidator.java

        private void validateInputTypes(RuleAction<?> ruleAction) {
            for (Class<?> inputType : ruleAction.getInputTypes()) {
                if (!validInputType.contains(inputType)) {
                    throw new RuleActionValidationException(invalidParameterMessage(inputType));
                }
            }
        }
    
        private String invalidParameterMessage(Class<?> inputType) {
            if (validInputType.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

        for (int index : dynamic_shape_arg_index) {
          BlockArgument arg = func.getArgument(index);
          auto inputType = mlir::dyn_cast<RankedTensorType>(arg.getType());
          // Only rank 1 tensor is supported for now.
          if (!inputType || inputType.getRank() != 1) continue;
          auto shape = llvm::to_vector<4>(inputType.getShape());
          llvm::SmallVector<int64_t, 4> bounds(shape.begin(), shape.end());
          // Mark the dim as dynamic dim.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            def initValue = inputType.contains("Map<") ? "[:]" : "[]"
            def inputDeclaration = "$inputType input = $initValue"
            groovyBuildFile(inputDeclaration, inputValue, operation)
    
            expect:
            runAndAssert("myTask", expectedResult)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

                                const llvm::SmallVectorImpl<Attribute>& input_types,
                                llvm::SmallVectorImpl<Value>& input_values) const {
        if (input_types.size() <= 1) return;
    
        Type target_input_type = mlir::cast<TypeAttr>(input_types[0]).getValue();
        auto result_type = UnrankedTensorType::get(target_input_type);
        for (auto i = 1; i < input_types.size(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        ArrayRef<int64_t> shape = arg_shapes[i];
        Type element_type;
        if (auto input_ty =
                mlir::dyn_cast<RankedTensorType>(func_type.getInput(i))) {
          if (input_ty.getRank() != shape.size()) {
            return failure();
          }
          element_type = input_ty.getElementType();
        } else {
          auto unranked_input_ty =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/ExternalDependencyInstrumentingArtifactTransform.java

            File input = getInput().get().getAsFile();
            InstrumentationInputType inputType = getInputType(input);
            switch (inputType) {
                case DEPENDENCY_ANALYSIS_DATA:
                    doOutputTransformedFile(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
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top