Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for input_type (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

        if (!reshape_type.hasStaticShape()) return failure();
        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.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h

    // applying the permutation to a given shape through a transpose.
    PermutationAndShape GetPermutationAndTransposedShape(
        llvm::ArrayRef<int64_t> permutation_array, ShapedType input_type,
        ConversionPatternRewriter& rewriter);
    
    // Create a single const integer.
    Value BuildIntConstOp(ImplicitLocOpBuilder& builder,
                          ConversionPatternRewriter& rewriter, int64_t const_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 11:35:25 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

        auto qbarrier = rewriter.create<QuantizeCastOp>(op.getLoc(), quantizedType,
                                                        op.getInputs());
        rewriter.replaceOpWithNewOp<DequantizeCastOp>(op, converter.input_type,
                                                      qbarrier.getResult());
    
        return false;
      }
    };
    
    class ConstFakeQuantRewrite
        : public FakeQuantRewrite<ConstFakeQuantRewrite, ConstFakeQuant> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. pkg/test/config/mock_config.pb.go

    }
    var file_pkg_test_config_mock_config_proto_depIdxs = []int32{
    	1, // 0: config.MockConfig.pairs:type_name -> config.ConfigPair
    	1, // [1:1] is the sub-list for method output_type
    	1, // [1:1] is the sub-list for method input_type
    	1, // [1:1] is the sub-list for extension type_name
    	1, // [1:1] is the sub-list for extension extendee
    	0, // [0:1] is the sub-list for field type_name
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessor.java

        private List<Object> getInputValues(List<Class<?>> inputTypes, MetadataProvider metadataProvider) {
            if (inputTypes.size() == 0) {
                return Collections.emptyList();
            }
    
            if (!metadataProvider.isUsable()) {
                return null;
            }
    
            List<Object> inputs = new ArrayList<>(inputTypes.size());
            for (Class<?> inputType : inputTypes) {
                if (inputType == ComponentMetadata.class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/InputPropertyAnnotationOverrideIntegrationTest.groovy

            file("inputs/input").text = "initial"
        }
    
        def "can override @Internal with @#inputType.simpleName"() {
            buildFile << """
                class InternalBaseTask extends BaseTask {
                    @Internal def input
                }
                class CustomTask extends InternalBaseTask {
                    @${inputType.name} def input
                }
                custom {
                    def layout = project.layout
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top